Skip to content

Commit

Permalink
allow tabs to be clicked from the top of a window
Browse files Browse the repository at this point in the history
this allows a user to click tabs and buttons at the very top of a
maximised window when using the floating tabs tweak.
  • Loading branch information
bmFtZQ committed Dec 14, 2022
1 parent 8f16dc0 commit 9fedd63
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions chrome/global/tweaks.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,20 @@ bugs with certain themes eg. dark text on dark background.) */
}
}

.tabbrowser-tab,
#tabbrowser-arrowscrollbox-periphery #tabs-newtab-button,
#TabsToolbar #TabsToolbar-customization-target> :not(#tabbrowser-tabs) {
padding-top: 4px !important;
}

#tabbrowser-tabs {
margin-top: calc(var(--tab-block-margin) - 4px) !important;
}

#TabsToolbar #TabsToolbar-customization-target> :not(#tabbrowser-tabs) {
margin-top: calc(var(--tab-block-margin) - 2px) !important;
}

/* remove toolbar bg */
#nav-bar,
#PersonalToolbar {
Expand Down

0 comments on commit 9fedd63

Please sign in to comment.