From f950b675bdb1a12dfd5f0b8988ccb719caee9610 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Thu, 17 Mar 2016 18:26:00 +0000 Subject: [PATCH] workaround to avoid accidental click-throughs on narrow vertical scrollbars --- src/skins/vector/css/common.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/skins/vector/css/common.css b/src/skins/vector/css/common.css index cd59887b3a..9a8e80a811 100644 --- a/src/skins/vector/css/common.css +++ b/src/skins/vector/css/common.css @@ -63,7 +63,12 @@ input[type=text]:focus, textarea:focus { flexbox to adapt to the new size and cause the view to keep growing. */ .gm-scrollbar-container .gm-scroll-view { - position: absolute; + position: absolute; +} + +/* hack to avoid accidental click-throughs if you miss the narrow scrollbar */ +.gm-scrollbar.-vertical { + border-left: 6px solid transparent; } .mx_ContextualMenu_background {