Skip to content

fix(tokens): mobile-responsive token table - #9

Merged
zackkatz merged 1 commit into
mainfrom
fix/token-table-mobile
Jun 16, 2026
Merged

fix(tokens): mobile-responsive token table#9
zackkatz merged 1 commit into
mainfrom
fix/token-table-mobile

Conversation

@zackkatz

Copy link
Copy Markdown
Member

On mobile the 4-column token table squished — the CSS-variable column collapsed and hex defaults like #204ce5 broke mid-value. Wraps the table in an overflow-x:auto container with min-width:720px (scrolls instead of collapsing) and changes the Default cell to overflow-wrap:anywhere so short values stay intact.

…defaults splitting

Wrap the table in an overflow-x container with min-width:720px so narrow
viewports scroll instead of collapsing the CSS-variable column, and switch
the Default cell to overflow-wrap:anywhere so short values like #204ce5 stay
on one line (only genuinely long values wrap).
@zackkatz
zackkatz merged commit b74d47a into main Jun 16, 2026
@zackkatz
zackkatz deleted the fix/token-table-mobile branch June 16, 2026 22:58
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.

1 participant