centered top statuspanel: use inline margin to center the statuspanel
This commit is contained in:
@@ -1,14 +1,16 @@
|
|||||||
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/centered_top_statuspanel.css made available under Mozilla Public License v. 2.0
|
/* 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. */
|
See the above repository for updates as well as full license text. */
|
||||||
|
|
||||||
#statuspanel{
|
#statuspanel:not([hidden]){
|
||||||
|
display: flex !important;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 100% !important;
|
||||||
padding-top: 0 !important;
|
padding-top: 0 !important;
|
||||||
top: 0 !important;
|
inset-block: 0 auto !important;
|
||||||
inset-inline: auto !important;
|
inset-inline: auto !important;
|
||||||
margin-left: 50%;
|
|
||||||
}
|
}
|
||||||
#statuspanel-label{
|
#statuspanel-label{
|
||||||
margin-left: -50% !important;
|
border-width: 0 1px 1px 1px !important;
|
||||||
border-width: 0 1px 1px 1px;
|
border-style: solid !important;
|
||||||
border-style: none solid solid solid !important;
|
margin-inline: auto !important;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user