You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Table: Checkbox alignment in header (Th) is misaligned due to label margin-bottom #8360
Table header checkboxes in <Th> elements have incorrect vertical alignment due to a margin-bottom on the <label> element. This causes the checkbox to be misaligned with the text baseline.
Expected behavior:
The checkbox in table headers should be vertically aligned with the text baseline, matching the alignment of checkboxes in table body cells.
Current behavior:
The checkbox appears slightly lower than it should be due to an extra margin-bottom on the label element.
Steps to reproduce
Create a table with selectable rows using <Th> with select prop
Observe the checkbox alignment in the header
Compare with checkbox alignment in body cells (<Td> with select prop)
The CSS for .pf-v6-c-table th label includes a margin-bottom that pushes the checkbox down. This is not present on td label elements, causing inconsistent alignment.
Workaround
.pf-v6-c-tablethlabel {
margin-bottom:0;
}
Proposed solution
Remove or reduce the margin-bottom on .pf-v6-c-table th label to match the alignment of checkboxes in table body cells.
Product and version
@patternfly/react-table: 6.4.2
User project: OpenShift Console (using PatternFly DataView with table selection)
Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.
Create Plan
🧪 Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your .coderabbit.yaml:
issue_enrichment:
auto_enrich:
enabled: false
💬 Have feedback or questions? Drop into our discord!
Activity
rhamilto commentedon May 1, 2026
cc: @nicolethoen related to patternfly/patternfly-react#12404
coderabbitai commentedon May 1, 2026
📝 Issue Planner
Check the box below or use the
@coderabbitai plancommand to generate an implementation plan and prompts that you can use with your favorite coding assistant.🧪 Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your
.coderabbit.yaml:💬 Have feedback or questions? Drop into our discord!
rhamilto commentedon May 1, 2026
See patternfly/patternfly-react#12406 as this bug is specific to DataView