From eae0a70fd956017676a9dfc4a72ba3a5f3462399 Mon Sep 17 00:00:00 2001 From: Pedro Pinto Silva Date: Mon, 14 Feb 2022 09:53:21 +0100 Subject: [PATCH] NB: stylesview: Hide scrollbar while being able to scroll Signed-off-by: Pedro Pinto Silva Change-Id: I1b3f901a8c76f63134419f67972b4b038351c93c --- browser/css/notebookbar.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/browser/css/notebookbar.css b/browser/css/notebookbar.css index ef5d14a74..bd66adf0f 100644 --- a/browser/css/notebookbar.css +++ b/browser/css/notebookbar.css @@ -417,11 +417,17 @@ #stylesview { height: 64px; width: 530px; - overflow-x: hidden; + overflow: auto; padding: 0px; border: 1px solid var(--color-border); border-radius: var(--border-radius); border-collapse: separate; /*To use box-shadow in Internet Explorer 9 or later*/ + scrollbar-width: none; +} + +#stylesview::-webkit-scrollbar { + width: 0; + height: 0; } #stylesview .ui-iconview-entry {