Skip to content

Instantly share code, notes, and snippets.

@svandragt
Created May 22, 2025 14:12
Show Gist options
  • Save svandragt/48afe63074ca41af592da4d74440c697 to your computer and use it in GitHub Desktop.
Save svandragt/48afe63074ca41af592da4d74440c697 to your computer and use it in GitHub Desktop.
Firefox userChrome optimised for the compact connaisseur
/* Make it easier to find active tab */
.tab-background {
&:is([selected], [multiselected]) {
border-top: 1px solid #444 !important;
}
}
/* Thinner pins, even in compact */
.tab-content {
padding: 0 4px !important;
}
/* Remove space between tabs */
.tabbrowser-tab {
padding: 0 !important;
}
/* Smaller text masking */
.tabbrowser-tab {
--tab-label-mask-size: 0.25em !important;
}
/* Minimal padding after tab icons */
:root {
--tab-icon-end-margin: 2px !important;
}
@svandragt
Copy link
Author

svandragt commented May 22, 2025

I also remove the close button from the tabs.

about:config > browser.compactmode.show = true and customize the toolbar to select Compact mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment