Add a simple way for oneliners to set minimum width for focused urlbar

This commit is contained in:
MrOtherGuy
2020-09-14 11:51:03 +03:00
parent 96f42f61de
commit 490a971b5f
3 changed files with 9 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ See the above repository for updates as well as full license text. */
#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 */
}
/* prevent urlbar overflow on narrow windows */
/* Dependent on how many items are in navigation toolbar ADJUST AS NEEDED */
@@ -52,6 +53,8 @@ See the above repository for updates as well as full license text. */
/* Hide dropdown placeholder */
#urlbar-container:not(:hover) .urlbar-history-dropmarker{ margin-inline-start: -28px; }
#urlbar:focus-within{ min-width: var(--uc-urlbar-min-width,none) !important; }
}
/* Fix customization view */
#customization-panelWrapper > .panel-arrowbox > .panel-arrow{ margin-inline-end: initial !important; }