Fix issues caused by megabar

This commit is contained in:
MrOtherGuy 2019-10-20 23:02:47 +03:00
parent 65d252ceb3
commit 227d8777b5
2 changed files with 16 additions and 0 deletions

View file

@ -19,6 +19,14 @@ Window controls will be all wrong without it
:root[uidensity="compact"] > #navigator-toolbox{ --uc-toolbar-height: 32px; --uc-menubutton-padding: 0px}
: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: 1000px){

View file

@ -15,6 +15,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 and tabs-/nav-bar ratio - ADJUST AS NEEDED */
@media screen and (max-width: 1600px){