From 9a34fe3e954486da10608486ace28d69a726d54a Mon Sep 17 00:00:00 2001 From: Ulrik de Muelenaere Date: Mon, 4 Sep 2023 23:33:53 -0400 Subject: [PATCH] userChrome/urlbar: Prevent urlbar from going past window bottom in FF 117 (MR 36) --- src/userChrome/urlbar.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/userChrome/urlbar.css b/src/userChrome/urlbar.css index d71fd30..4ad5cf7 100644 --- a/src/userChrome/urlbar.css +++ b/src/userChrome/urlbar.css @@ -82,6 +82,14 @@ #PersonalToolbar { display: none; } + + /* If the bookmarks toolbar is configured to only show on the new tab page, + * Firefox makes the toolbar overlap the browser. When it's then hidden by + * the rule above, the urlbar is pushed off the bottom of the window. To + * prevent this, set the height of the overlapped toolbar to 0. */ + :root { + --bookmarks-toolbar-overlapping-browser-height: 0 !important; + } } /* Even though amazon is removed as search engine in policies.json, it gets