Skip to content

fix(table): wrap and clamp overflowing headers with a hover title - #26

Merged
lofcz merged 1 commit into
mainfrom
fix/table-header-overflow
Aug 30, 2026
Merged

fix(table): wrap and clamp overflowing headers with a hover title#26
lofcz merged 1 commit into
mainfrom
fix/table-header-overflow

Conversation

@lofcz

@lofcz lofcz commented Aug 30, 2026

Copy link
Copy Markdown
Owner

Summary

  • Long th labels no longer use whitespace-nowrap inside table-fixed, which was painting headers over neighboring cells.
  • Headers wrap (including long words), clamp to two lines with an ellipsis, and expose the full label via the native title tooltip.

Test plan

  • Unit tests for tableHeaderLabel / header classes
  • Integration test with a 5-column Czech curriculum table
  • Confirm the Version Packages PR publishes @lofcz/streamdown after merge

table-fixed plus nowrap let long header labels paint over neighboring cells. Headers now wrap, clamp to two lines, and expose the full text via title.
@lofcz
lofcz merged commit ce27358 into main Aug 30, 2026
2 checks passed
@lofcz
lofcz deleted the fix/table-header-overflow branch August 30, 2026 15:27
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