Make tabs_on_bottom and *_menubar_on_top_patch compatible again

This patch makes it so that menubar window controls are to be shown
when the patch file is applied.
This commit is contained in:
MrOtherGuy 2022-03-25 10:39:13 +02:00
parent 44fa2f0f0d
commit 5b67ff233a
2 changed files with 9 additions and 2 deletions

View file

@ -62,7 +62,7 @@ linux_gtk_window_control_patch.css
:root:not([chromehidden~="menubar"], [sizemode="fullscreen"]) #toolbar-menubar:not([autohide="true"]) + #TabsToolbar > .titlebar-buttonbox-container { :root:not([chromehidden~="menubar"], [sizemode="fullscreen"]) #toolbar-menubar:not([autohide="true"]) + #TabsToolbar > .titlebar-buttonbox-container {
display: block !important; display: block !important;
} }
:root:not([chromehidden~="menubar"]) #toolbar-menubar:not([autohide="true"]) .titlebar-buttonbox-container { #toolbar-menubar:not([autohide="true"]) > .titlebar-buttonbox-container {
visibility: hidden; visibility: hidden;
} }

View file

@ -38,4 +38,11 @@ See the above repository for updates as well as full license text. */
min-width: var(--uc-window-drag-space-post,20px); min-width: var(--uc-window-drag-space-post,20px);
} }
#toolbar-menubar .toolbarbutton-1 { --toolbarbutton-inner-padding: 3px } #toolbar-menubar .toolbarbutton-1 { --toolbarbutton-inner-padding: 3px }
:root:not([chromehidden~="menubar"], [sizemode="fullscreen"]) #TabsToolbar > .titlebar-buttonbox-container{
visibility: collapse !important;
}
#toolbar-menubar.browser-toolbar > .titlebar-buttonbox-container{
visibility: visible
}