diff options
| author | stonedDiscord <stoned@derpymail.org> | 2019-07-17 22:11:35 +0200 |
|---|---|---|
| committer | stonedDiscord <stoned@derpymail.org> | 2019-07-17 22:11:35 +0200 |
| commit | 54f8e92a87485656f3cad8f4c6fb1907401e4335 (patch) | |
| tree | 180b9f8567d666f3ff2088a2ad0445a4e642af40 /webAO | |
| parent | 050ede4a488c11a5c0cae05bcc17cd2dc0b17d01 (diff) | |
fix resizing issue
Diffstat (limited to 'webAO')
| -rw-r--r-- | webAO/client.css | 15 | ||||
| -rw-r--r-- | webAO/client.html | 2 | ||||
| -rw-r--r-- | webAO/golden/css/goldenlayout.css | 3 |
3 files changed, 12 insertions, 8 deletions
diff --git a/webAO/client.css b/webAO/client.css index bb5822b..40c8aad 100644 --- a/webAO/client.css +++ b/webAO/client.css @@ -110,12 +110,10 @@ img { border: 1px solid black; } -#client_wrapper { - background-color: #888888; - overflow: auto; - overflow-y: hidden; - min-width: 256px; - resize: horizontal; +#client_icwrapper { + overflow-x: hidden; + overflow-y: auto; + height: 100%; } @media (max-width: 360px) { @@ -458,6 +456,11 @@ img { margin-right: -50%; } +#client_menu { + overflow-y: auto; + height: 100%; +} + .menu_content { margin: 15px 15px; display: none; diff --git a/webAO/client.html b/webAO/client.html index 5af891b..8b6a990 100644 --- a/webAO/client.html +++ b/webAO/client.html @@ -22,6 +22,7 @@ <template id="client_wrapper"> <meta name="frame-title" lang="en" content="Game"> + <div id="client_icwrapper"> <div id="client_background"></div> <div id="client_gamewindow"> <img id="client_court" alt="Courtroom background" onerror="imgError(this);"> @@ -114,6 +115,7 @@ No actions available for this role. </span> </fieldset> + </div> </template> <template id="mainmenu"> diff --git a/webAO/golden/css/goldenlayout.css b/webAO/golden/css/goldenlayout.css index 72aa38d..ecb0d6b 100644 --- a/webAO/golden/css/goldenlayout.css +++ b/webAO/golden/css/goldenlayout.css @@ -42,8 +42,7 @@ body { float: left; } .lm_content { - overflow-x: hidden; - overflow-y: auto; + overflow: hidden; position: relative; } .lm_dragging, |
