Skip to content

Commit

Permalink
Fix Proton titlebar buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
muckSponge committed May 14, 2021
1 parent 66d55ae commit 0997cd6
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions chrome/global/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,9 @@
{
@media (-moz-windows-default-theme)
{
:root[tabsintitlebar] .titlebar-buttonbox-container
:root[tabsintitlebar] .titlebar-button
{
height: 30px !important;
}

:root[tabsintitlebar][sizemode=normal] .titlebar-buttonbox-container
{
margin-block-start: calc(0px - (var(--space-above-tabbar) + 5px)) !important;
}

:root[tabsintitlebar][sizemode=maximized] .titlebar-buttonbox-container
{
margin-block-start: calc(2px - (var(--space-above-tabbar))) !important;
}

:root[tabsintitlebar][sizemode=maximized]:not([extradragspace]) .titlebar-buttonbox-container
{
-moz-box-align: start !important;
margin-block-start: -5px !important;
transform: translateY(-8px) !important;
}

@media (-moz-windows-accent-color-in-titlebar: 0)
Expand Down

0 comments on commit 0997cd6

Please sign in to comment.