adjust item sizes so they fit better to other buttons

This commit is contained in:
MrOtherGuy 2021-03-21 10:22:30 +02:00
parent aa9a8e6953
commit 59bee65e7b
2 changed files with 9 additions and 4 deletions

View file

@ -5,12 +5,13 @@ See the above repository for updates as well as full license text. */
#main-menubar > menu{ #main-menubar > menu{
fill: currentColor; fill: currentColor;
height: var(--uc-menubaritem-height,22px); height: var(--uc-menubaritem-height,28px);
width: var(--uc-menubaritem-width,32px); width: var(--uc-menubaritem-width,30px);
-moz-context-properties: fill; -moz-context-properties: fill;
padding: 3px !important; padding: 3px !important;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
border-radius: var(--toolbarbutton-border-radius)
} }
.menubar-text{ display: none } .menubar-text{ display: none }

View file

@ -3,7 +3,7 @@ See the above repository for updates as well as full license text. */
/* Make menubar permanently enabled or this isn't going to work */ /* Make menubar permanently enabled or this isn't going to work */
#navigator-toolbox{ --uc-menubar-height: 36px } #navigator-toolbox{ --uc-menubar-height: 34px; }
:root[uidensity="compact"] #navigator-toolbox{ --uc-menubar-height: 30px } :root[uidensity="compact"] #navigator-toolbox{ --uc-menubar-height: 30px }
#titlebar{ -moz-box-direction: reverse; -moz-appearance: none !important; } #titlebar{ -moz-box-direction: reverse; -moz-appearance: none !important; }
@ -18,7 +18,11 @@ See the above repository for updates as well as full license text. */
pointer-events: none; pointer-events: none;
} }
#menubar-items{ -moz-box-pack: center; pointer-events: initial } #menubar-items{
-moz-box-pack: center;
pointer-events: initial;
margin-top: 3px;
}
/* Adjust to fit menubar items - 300px works for English locale */ /* Adjust to fit menubar items - 300px works for English locale */
#nav-bar{ padding-left: 300px; } #nav-bar{ padding-left: 300px; }