From 3ec73bd138b551eedffcf0a059020174aac1b11d Mon Sep 17 00:00:00 2001
From: Tim Keller <tjkeller.xyz>
Date: Tue, 14 Jan 2025 17:38:33 -0600
Subject: update userchrome for new firefox

---
 modules/home/resources/firefox/userChrome.css | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

(limited to 'modules')

diff --git a/modules/home/resources/firefox/userChrome.css b/modules/home/resources/firefox/userChrome.css
index af302c5..de0e112 100644
--- a/modules/home/resources/firefox/userChrome.css
+++ b/modules/home/resources/firefox/userChrome.css
@@ -62,10 +62,7 @@
   /* Modify these to change relative widths or default height */
   #navigator-toolbox {
     margin-bottom: 0px;
-  }
-
-  #titlebar {
-    margin-top: 2px;
+    padding-top: 1px; /* Top bar is cut off otherwise */
   }
 
   #TabsToolbar {
@@ -77,7 +74,7 @@
    /* Tabs extend to bottom of bar */
   .tab-background {
     margin-bottom: 0 !important;
-    margin-top: 2px !important; /* See above navbox rule */
+    margin-top: 3px !important; /* See above navigator-toolbox rule. Avoid cutting off top */
   }
 
    /* Center tab buttons */
@@ -187,6 +184,7 @@ findbar .findbar-container hbox {
   #PersonalToolbar {
     background: -moz-headerbar Field !important;
     border-top: 1px solid ThreeDShadow !important;
+    z-index: 1000; /* To not be affected by shadow from navbar */
   }
   /* Space out bookmark items */
   .bookmark-item .toolbarbutton-text {
-- 
cgit v1.2.3