Add a simple way for oneliners to set minimum width for focused urlbar
This commit is contained in:
@@ -6,13 +6,14 @@ See the above repository for updates as well as full license text. */
|
||||
/* Use page_action_buttons_on_hover.css to hide page-action-buttons to save more space for the address */
|
||||
|
||||
/*
|
||||
urlbar_full_width.css is VERY MUCH recommended for Firefox 71+ because of new urlbar popup
|
||||
urlbar_popup_full_width.css is VERY MUCH recommended for Firefox 71+ because of new urlbar popup
|
||||
*/
|
||||
|
||||
/* Modify these to change relative widths or default height */
|
||||
#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 */
|
||||
}
|
||||
/* Override for other densities */
|
||||
:root[uidensity="compact"] #navigator-toolbox{ --uc-toolbar-height: 32px; }
|
||||
@@ -55,4 +56,6 @@ urlbar_full_width.css is VERY MUCH recommended for Firefox 71+ because of new ur
|
||||
#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; }
|
||||
#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