From 4b7c26f5b3a4cc5a4c1e44680440298c69d4000d Mon Sep 17 00:00:00 2001 From: CloudHill Date: Thu, 10 Dec 2020 18:15:25 +0700 Subject: [PATCH] fix scroll-db_toolbars tweak's selectors stops unrelated elements from being selected --- mods/tweaks/app.css | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/mods/tweaks/app.css b/mods/tweaks/app.css index 3f2ccfe..6811304 100644 --- a/mods/tweaks/app.css +++ b/mods/tweaks/app.css @@ -54,11 +54,9 @@ margin-bottom: -1.5px !important; } -[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-collection_view-block > [style*=" height: 42px"] { + 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; +[data-tweaks*='[scroll_db_toolbars]'] .notion-collection_view-block > [style*=" height: 42px"]::-webkit-scrollbar { + display: none; }