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
DataViewTable: Checkbox alignment in header is misaligned due to label margin-bottom #12406
Table header checkboxes in DataViewTable from @patternfly/react-data-view 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 DataViewTable 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.
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. This issue affects DataViewTable but not the regular Table component.
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, specifically for DataViewTable rendering.
#12192 - fix(Label): render add variant labels as buttons [merged] #12294 - fix(Menu): adjust initially drilled-in root menu height [merged]
📝 Issue Planner
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
coderabbitai commentedon May 1, 2026
🔗 Related PRs
#12192 - fix(Label): render add variant labels as buttons [merged]
#12294 - fix(Menu): adjust initially drilled-in root menu height [merged]
📝 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
Turns out this issue is console specific because of some old custom CSS there.