From 23d7e05d9a852b78ebc85661f7ad3c2061573c3a Mon Sep 17 00:00:00 2001 From: Ryo Hilmawan <54142180+CloudHill@users.noreply.github.com> Date: Tue, 3 Nov 2020 12:16:24 +0700 Subject: [PATCH] Update styles.css Added styling for scroll database toolbars --- mods/tweaks/styles.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/mods/tweaks/styles.css b/mods/tweaks/styles.css index 856c56a..a8574e3 100644 --- a/mods/tweaks/styles.css +++ b/mods/tweaks/styles.css @@ -46,3 +46,13 @@ --theme_light--text-block_line-height: 1.65; --theme_light--text-block_margin-top: 0.75em; } + +[data-tweaks*='[scroll_db_toolbars]'] .notion-frame > .notion-scroller > [style*="overflow: visible;"], +[data-tweaks*='[scroll_db_toolbars]'] .notion-page-content .notion-collection_view-block > :first-child { + overflow-x: auto !important; +} + +[data-tweaks*='[scroll_db_toolbars]'] .notion-frame > .notion-scroller > [style*="overflow: visible;"]::-webkit-scrollbar, +[data-tweaks*='[scroll_db_toolbars]'] .notion-page-content .notion-collection_view-block > :first-child::-webkit-scrollbar { + display: none; +}