Skip to content
This repository has been archived by the owner on Nov 21, 2021. It is now read-only.

No overflow, tab width changes to minimal size on hover #138

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions tabs/dynamic-tab-width-no-overflow.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*
* Description: All tabs visible, if too small, they expand on hover and shrink back when no hover.
*
* Screenshot: https://imgur.com/ag4aAO0
*
* Contributor(s): ExXeptional, u/Azarihl, Madis0(used part of prevent-tab-overflow.css)
*/

.tabbrowser-tab {
transition: 1000ms !important;
min-width: 10px !important;
clip-width: 10px !important;
}

.tabbrowser-tab:not([pinned]):hover{
transition: 250ms !important;
min-width: 80px !important;
}

.tabbrowser-tab:not([pinned]) .tab-close-button {
display: none !important;
}

.tabbrowser-tab:not([pinned]):hover .tab-close-button {
display: -moz-box !important;
}