From 6192ac3b64d31761ff2fabf4ae06d9186a90d187 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Wed, 19 Oct 2022 23:36:52 +0300 Subject: [PATCH] Make centered_top_statuspanel work with 107 --- chrome/centered_top_statuspanel.css | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/chrome/centered_top_statuspanel.css b/chrome/centered_top_statuspanel.css index 6a5ffb4..bf70956 100644 --- a/chrome/centered_top_statuspanel.css +++ b/chrome/centered_top_statuspanel.css @@ -1,20 +1,14 @@ /* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/centered_top_statuspanel.css made available under Mozilla Public License v. 2.0 See the above repository for updates as well as full license text. */ -#tabbrowser-tabpanels .browserContainer{ -moz-box-direction: reverse !important } -#tabbrowser-tabpanels .browserContainer > notificationbox{ -moz-box-ordinal-group: 2 } #statuspanel{ - margin-top: 0 !important; + padding-top: 0 !important; + top: 0 !important; + inset-inline: auto !important; margin-left: 50%; } -#statuspanel-inner{ - -moz-box-align: start !important; - margin-left: -50%; -} #statuspanel-label{ + margin-left: -50% !important; border-width: 0 1px 1px 1px; border-style: none solid solid solid !important; } - -/* Not sure if this has some performance impact but or if it would cause other problems, but it allows the statuspanel to be centered to content even if sidebar is visible */ -.browserContainer{ transform: translateX(0) } \ No newline at end of file