Skip to content

Conversation

Astatine-213-Tian
Copy link

@Astatine-213-Tian Astatine-213-Tian commented Jul 8, 2025

Previously, both ⁠<th> (header) and ⁠<td> (data) table cells were rendered using ⁠finalStyles.td, which meant header cell styles were ignored.
This PR updates the table cell renderer to check if the cell is a header or data cell, and applies the correct styles:

  • Header cells (⁠<th>) now use ⁠finalStyles.th
  • Data cells (⁠<td>) use ⁠finalStyles.td

This ensures that custom header styles are properly applied and not overridden by data cell styles.

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