improve proton compatibility
This commit is contained in:
@@ -15,7 +15,10 @@ urlbar_popup_full_width.css is VERY MUCH recommended for Firefox 71+ because of
|
||||
#navigator-toolbox{
|
||||
--uc-navigationbar-width: 40vw;
|
||||
--uc-toolbar-height: 40px;
|
||||
--uc-urlbar-min-width: none; /* Can set minimum width for focused urlbar here eg. 550px */
|
||||
--uc-urlbar-min-width: 50vw; /* minimum width for opened urlbar */
|
||||
}
|
||||
@media (-moz-proton){
|
||||
#scrollbutton-up,#scrollbutton-down{ border-block-width: 2px !important; }
|
||||
}
|
||||
/* Override for other densities */
|
||||
:root[uidensity="compact"] #navigator-toolbox{ --uc-toolbar-height: 34px; }
|
||||
@@ -23,7 +26,7 @@ urlbar_popup_full_width.css is VERY MUCH recommended for Firefox 71+ because of
|
||||
|
||||
/* prevent urlbar overflow on narrow windows */
|
||||
/* Dependent on how many items are in navigation toolbar ADJUST AS NEEDED */
|
||||
@media screen and (max-width: 1400px){
|
||||
@media screen and (max-width: 1500px){
|
||||
#urlbar-container{ min-width:unset !important }
|
||||
}
|
||||
|
||||
@@ -56,10 +59,12 @@ urlbar_popup_full_width.css is VERY MUCH recommended for Firefox 71+ because of
|
||||
/* 1px margin on touch density causes tabs to be too high */
|
||||
.tab-close-button{ margin-top: 0 !important }
|
||||
|
||||
/* Make opened urlbar overlay the toolbar */
|
||||
#urlbar[open]:focus-within{ min-width: var(--uc-urlbar-min-width,none) !important; }
|
||||
|
||||
/* Hide dropdown placeholder */
|
||||
#urlbar-container:not(:hover) .urlbar-history-dropmarker{ margin-inline-start: -28px; }
|
||||
|
||||
/* Fix customization view */
|
||||
#customization-panelWrapper > .panel-arrowbox > .panel-arrow{ margin-inline-end: initial !important; }
|
||||
|
||||
#urlbar:focus-within{ min-width: var(--uc-urlbar-min-width,none) !important; }
|
||||
Reference in New Issue
Block a user