diff --git a/chrome/vertical_urlbar_one-off_items.css b/chrome/vertical_urlbar_one-off_items.css new file mode 100644 index 0000000..e884a7c --- /dev/null +++ b/chrome/vertical_urlbar_one-off_items.css @@ -0,0 +1,32 @@ +/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/vertical_urlbar_one-off_items.css made available under Mozilla Public License v. 2.0 +See the above repository for updates as well as full license text. */ + +/* Makes one-off search buttons in the urlbar popup show vertically to the right of results */ + +#urlbar[open="true"] > .urlbarView{ + display: flex !important; +} +.urlbarView-body-outer{ + width: calc(100% - 2 * (5px + var(--urlbar-container-padding)) - 30px); !important; +} +#urlbar .search-one-offs{ + width: 40px !important; + flex-direction: column; + align-items: stretch !important; +} +.search-panel-one-offs, +.search-panel-one-offs-container{ + flex-direction: column !important; + min-width: unset !important; + align-items: stretch !important; + justify-content: start !important; +} +#urlbar .searchbar-engine-one-off-item{ + min-width: unset !important; + margin-inline: 0 !important; + align-self: unset !important; +} +.search-panel-one-offs .searchbar-engine-one-off-item{ + min-height: 40px !important; +} +.search-panel-one-offs-header{ display: none !important } diff --git a/html_resources/tagmap.json b/html_resources/tagmap.json index 9feba85..547b792 100644 --- a/html_resources/tagmap.json +++ b/html_resources/tagmap.json @@ -156,5 +156,6 @@ "vertical_popup_menubar.css":["menubar","menu","toolbars","popup"], "window_control_fallback_for_custom_windows_theme.css":["window-control","buttons","colors","patch"], "window_control_force_linux_system_style.css":["window-control","buttons","icon"], -"window_control_placeholder_support.css":["window-control","patch"] +"window_control_placeholder_support.css":["window-control","patch"], +"vertical_urlbar_one-off_items.css":["urlbar"] } diff --git a/tags.csv b/tags.csv index b139af9..82b40d0 100644 --- a/tags.csv +++ b/tags.csv @@ -156,3 +156,4 @@ vertical_popup_menubar.css,menubar,menu,toolbars,popup window_control_fallback_for_custom_windows_theme.css,window-control,buttons,colors,patch window_control_force_linux_system_style.css,window-control,buttons,icon window_control_placeholder_support.css,window-control,patch +vertical_urlbar_one-off_items.css,urlbar