mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-01-02 15:23:59 -08:00
Fix: Global Menu - Prevent layout shifts #207
Change parent layout from -moz-box to flex.
This commit is contained in:
parent
0513ffd94d
commit
7ddef19cfb
1 changed files with 14 additions and 0 deletions
|
|
@ -861,6 +861,20 @@
|
|||
}
|
||||
|
||||
/*= 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 */
|
||||
}
|
||||
|
||||
/* Vertical Align - Center & Height: 100% */
|
||||
#menubar-items,
|
||||
#main-menubar {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue