Fix some layout issues caused by megabar

This commit is contained in:
MrOtherGuy 2019-10-20 22:57:13 +03:00
parent e058c25876
commit ce21033582

View file

@ -4,6 +4,8 @@
/*
Get window_control_placeholder_support.css
Window controls will be all wrong without it
urlbar_full_width.css is VERY MUCH recommended for Firefox 71+ because of new urlbar popup
*/
@ -16,6 +18,14 @@ Window controls will be all wrong without it
:root[uidensity="compact"] > #navigator-toolbox{ --uc-toolbar-height: 32px; }
:root[uidensity="touch"] > #navigator-toolbox{ --uc-toolbar-height: 40px; }
:root[uidensity=compact] #urlbar-container.megabar{
--urlbar-container-height: var(--uc-toolbar-height) !important;
padding-block: 0 !important;
}
:root[uidensity=compact] #urlbar.megabar{
--urlbar-toolbar-height: var(--uc-toolbar-height) !important;
}
/* prevent urlbar overflow on narrow windows */
/* Dependent on how many items are in navigation toolbar ADJUST AS NEEDED */
@media screen and (max-width: 1100px){