From 5c04e1100d0a740551274e114c6336ff0362a474 Mon Sep 17 00:00:00 2001 From: tophf Date: Tue, 13 Mar 2018 00:14:59 +0300 Subject: [PATCH] hide the weird gap in Chrome 66+, see https://crbug.com/821143 --- popup/popup.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/popup/popup.css b/popup/popup.css index 01fbf42d..fda61a80 100644 --- a/popup/popup.css +++ b/popup/popup.css @@ -8,6 +8,12 @@ --outer-padding: 9px; } +html { + /* Chrome 66-?? adds a gap equal to the scrollbar width, + which looks like a bug, see https://crbug.com/821143 */ + overflow: overlay; +} + html, body { height: min-content; max-height: 600px;