Description
When too many tabs are open, tab widths shrink below a usable threshold. At that point:
- Tab titles become unreadable
- The dynamic active-tab expansion (
--uc-active-tab-width) can no longer take effect because there's no space left to redistribute
- The visual distinction between active and inactive tabs breaks down
The entire dynamic tab sizing concept stops working once the tabs are squeezed too tight.
Possible approach
Auto-switch to scroll mode when individual tab width drops below a minimum threshold. Firefox supports overflow: scroll on the tab strip. The idea would be to trigger it based on tab count or computed width, so tabs maintain a readable minimum size and the active-tab expansion keeps working.
Open questions
- What's the right minimum tab width before scrolling kicks in?
- Pure CSS solution (e.g.
min-width on tabs forces overflow naturally) or does this need a clamp()/container-query approach?
- How does this interact with
--uc-active-tab-width / --uc-inactive-tab-width?
Needs investigation before implementation.
Labels
enhancement
Description
When too many tabs are open, tab widths shrink below a usable threshold. At that point:
--uc-active-tab-width) can no longer take effect because there's no space left to redistributeThe entire dynamic tab sizing concept stops working once the tabs are squeezed too tight.
Possible approach
Auto-switch to scroll mode when individual tab width drops below a minimum threshold. Firefox supports
overflow: scrollon the tab strip. The idea would be to trigger it based on tab count or computed width, so tabs maintain a readable minimum size and the active-tab expansion keeps working.Open questions
min-widthon tabs forces overflow naturally) or does this need aclamp()/container-query approach?--uc-active-tab-width/--uc-inactive-tab-width?Needs investigation before implementation.
Labels
enhancement