From b958b75f2cd42df6343025e4299b10273e1a2c86 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Wed, 19 Oct 2022 11:21:27 +0300 Subject: [PATCH] Make multi-row_bookmarks.css compatibility rules work in Firefox 107 In 107 (but not in 108) you also need to set layout.css.moz-box-flexbox-emulation.enabled to true for things to work --- .../autohide_bookmarks_and_main_toolbars.css | 18 ++++++++++++++---- chrome/autohide_bookmarks_toolbar.css | 18 ++++++++++++++---- 2 files changed, 28 insertions(+), 8 deletions(-) diff --git a/chrome/autohide_bookmarks_and_main_toolbars.css b/chrome/autohide_bookmarks_and_main_toolbars.css index 983c0e2..05c297f 100644 --- a/chrome/autohide_bookmarks_and_main_toolbars.css +++ b/chrome/autohide_bookmarks_and_main_toolbars.css @@ -115,8 +115,18 @@ See the above repository for updates as well as full license text. */ /* #navigator-toolbox{ margin-bottom: var(--uc-navbar-height) !important; } #PersonalToolbar:not([customizing]){ - position: fixed !important; - display: block; - margin-bottom: 0px !important; + min-height: 0 !important; + margin-bottom: 0; + height: 0; + overflow-y: visible !important; + z-index: 2; + padding-inline: 0 !important; } -*/ \ No newline at end of file +#personal-bookmarks{ + background: inherit; + height: min-content; +} +#PlacesToolbarDropIndicatorHolder{ + pointer-events: none !important; +} +*/ diff --git a/chrome/autohide_bookmarks_toolbar.css b/chrome/autohide_bookmarks_toolbar.css index 2d24238..5b01b9d 100644 --- a/chrome/autohide_bookmarks_toolbar.css +++ b/chrome/autohide_bookmarks_toolbar.css @@ -54,8 +54,18 @@ See the above repository for updates as well as full license text. */ /* This would break buttons placed in the toolbar but that is likely not happening if you are using multi-row setup */ /* #PersonalToolbar:not([customizing]){ - position: fixed; - display: block; - margin-bottom: 0px !important; + min-height: 0 !important; + margin-bottom: 0; + height: 0; + overflow-y: visible !important; + z-index: 2; + padding-inline: 0 !important; } -*/ \ No newline at end of file +#personal-bookmarks{ + background: inherit; + height: min-content; +} +#PlacesToolbarDropIndicatorHolder{ + pointer-events: none !important; +} +*/