/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/icon_only_tabs.css made available under Mozilla Public License v. 2.0 See the above repository for updates as well as full license text. */ .tab-content > :not(.tab-icon-stack){ display: none } .tab-icon-stack > *{ margin-inline: 0 !important; } .tabbrowser-tab{ -moz-box-flex: 0 !important; } .tabbrowser-tab[fadein]{ min-width: calc(16px + 2 * 10px + 4px) !important; } :root[uidensity="compact"] .tabbrowser-tab[fadein]{ min-width: calc(16px + 2 * var(--inline-tab-padding,0px) + 4px) !important; } :root:not([uidensity="compact"]) .tab-content{ padding-inline: 10px !important; }