mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-02-23 00:21:30 -08:00
Fix: Global Menu - white space on top #211
Since the Layoutshift phenomenon does not occur in Linux, I will change it to be applied only to Windows.
This commit is contained in:
parent
70f97f26df
commit
f3c52ef056
1 changed files with 15 additions and 11 deletions
|
|
@ -887,17 +887,21 @@
|
|||
|
||||
/*= Global Menu - Set Padding ==============================================*/
|
||||
/* Prevent layout shifts */
|
||||
#toolbar-menubar {
|
||||
display: flex !important;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
}
|
||||
#toolbar-menubar > spacer {
|
||||
order: 1000; /* as Original's -moz-box-ordinal-group: 1000 */
|
||||
flex: 1; /* Fill row */
|
||||
}
|
||||
#toolbar-menubar > .titlebar-buttonbox-container {
|
||||
order: 1000; /* as Original's -moz-box-ordinal-group: 1000 */
|
||||
@media (-moz-os-version: windows-win7),
|
||||
(-moz-os-version: windows-win8),
|
||||
(-moz-os-version: windows-win10) {
|
||||
#toolbar-menubar {
|
||||
display: flex !important;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
}
|
||||
#toolbar-menubar > spacer {
|
||||
order: 1000; /* as Original's -moz-box-ordinal-group: 1000 */
|
||||
flex: 1; /* Fill row */
|
||||
}
|
||||
#toolbar-menubar > .titlebar-buttonbox-container {
|
||||
order: 1000; /* as Original's -moz-box-ordinal-group: 1000 */
|
||||
}
|
||||
}
|
||||
|
||||
/* Vertical Align - Center & Height: 100% */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue