From 54f8e92a87485656f3cad8f4c6fb1907401e4335 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Wed, 17 Jul 2019 22:11:35 +0200 Subject: fix resizing issue --- webAO/client.css | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'webAO/client.css') 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; -- cgit From 6d3b340bac4e858d2f654040b0291d4cd0d83986 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Wed, 17 Jul 2019 22:13:33 +0200 Subject: remove deprecated client_background that was blocking the scrollbar somehow --- webAO/client.css | 8 -------- 1 file changed, 8 deletions(-) (limited to 'webAO/client.css') diff --git a/webAO/client.css b/webAO/client.css index 40c8aad..54c688d 100644 --- a/webAO/client.css +++ b/webAO/client.css @@ -188,14 +188,6 @@ img { left: 0; } -#client_background { - position: absolute; - background-color: transparent; - width: 100%; - height: auto; - padding-bottom: 75%; -} - #client_name { display: none; height: 7%; -- cgit From ce424437a06d9e7219b7ac9da994dfb8ce685044 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Wed, 17 Jul 2019 22:16:36 +0200 Subject: only display scrollbars when needed --- webAO/client.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'webAO/client.css') diff --git a/webAO/client.css b/webAO/client.css index 54c688d..ade55c7 100644 --- a/webAO/client.css +++ b/webAO/client.css @@ -84,7 +84,7 @@ img { left: 0; width: 100%; height: 100%; - overflow-y: scroll; + overflow-y: auto; justify-content: center; align-items: center; vertical-align: middle; @@ -259,7 +259,7 @@ img { word-break: keep-all; word-wrap: break-word; overflow-wrap: break-word; - overflow-y: scroll; + overflow-y: auto; font-size: medium; background-color: #242424; text-align: start; @@ -288,7 +288,7 @@ img { font-family: "Source Code Pro", "Consolas", monospace; font-size: small; overflow-wrap: break-word; - overflow-y: scroll; + overflow-y: auto; text-rendering: optimizelegibility; resize: none; flex: 1 1 auto; -- cgit