Skip to content

Tabs become unreadable with many open tabs #7

@Firnschnee

Description

@Firnschnee

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions