From 2a71c1a9eccec3bf515082f3fa66372439212660 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Tue, 8 Nov 2016 23:36:37 -0800 Subject: [PATCH] Fix bug from 1b3e59e85294ad3c7492c857ebdf75a161db6827 causing lack of scroll bar when `Fit width` is disabled and images overflow screen. --- src/css/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/css/style.css b/src/css/style.css index 6747b7975..477720d58 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -120,9 +120,9 @@ body > div[style*=" top: -10000px;"] { /* currently nonstandard but may be added: https://lists.w3.org/Archives/Public/www-style/2016Mar/0352.html, https://bugzilla.mozilla.org/show_bug.cgi?id=1296042 */ word-break: break-word; } -:root:not(.ua-webkit):not(.ua-blink) .post > .file { +:root:not(.ua-webkit):not(.ua-blink) .fileText { word-wrap: break-word; - max-width: calc(100vw - 50px); + max-width: calc(100vw - 90px); } /* Ads */