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