Skip to content

Conversation

@devongovett
Copy link
Member

When S2 Tabs have only a single word in each tab they would never collapse due to the min-width: min-content. Setting this to zero fixes the issue. Updated one of the stories to test.

@rspbot
Copy link

rspbot commented Aug 22, 2025

Copy link
Member

@yihuiliao yihuiliao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, would be good to run chromatic just in case

Copy link
Member

@LFDanLu LFDanLu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested across browsers, collapsing seems to still work well

@devongovett devongovett added this pull request to the merge queue Aug 22, 2025
Merged via the queue into main with commit 0487f38 Aug 22, 2025
32 checks passed
@devongovett devongovett deleted the fix-tabs-collapse branch August 22, 2025 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants