Make centered_top_statuspanel work with 107

This commit is contained in:
MrOtherGuy 2022-10-19 23:36:52 +03:00
parent b958b75f2c
commit 6192ac3b64

View file

@ -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) }