selected_tab_as_urlbar: horizontally center urlbarview to window

This commit is contained in:
MrOtherGuy 2023-03-24 11:43:24 +02:00
parent 0aa8c49b99
commit a9201944a9

View file

@ -24,6 +24,7 @@ See the above repository for updates as well as full license text. */
box-shadow: none !important; box-shadow: none !important;
outline: none !important; outline: none !important;
} }
#urlbar-container{ position: static !important; }
.urlbarView{ .urlbarView{
background: var(--toolbar-field-focus-background-color); background: var(--toolbar-field-focus-background-color);
border: 1px solid var(--toolbar-field-focus-border-color) !important; border: 1px solid var(--toolbar-field-focus-border-color) !important;
@ -31,8 +32,9 @@ See the above repository for updates as well as full license text. */
padding: 6px; padding: 6px;
border-radius: 6px; border-radius: 6px;
box-shadow: 0 0 26px #444; box-shadow: 0 0 26px #444;
left: 50vw; left:50vw;
margin-left: -50% !important; width: max(70vw,600px) !important;
transform: translateX(-50%) !important;
} }
.tabbrowser-tab[selected][fadein]{ max-width: 100vw !important; min-width: 200px !important } .tabbrowser-tab[selected][fadein]{ max-width: 100vw !important; min-width: 200px !important }