Skip to content

Tables: updated cell padding to align toggle/action buttons #8510

Description

@jcmill

The <td> cells that contain plain buttons (like tree-view toggles or action buttons) currently use a t-shirt token for padding. The intent is to vertially align the icon inside the button with text in adjacent cells. The cells gets an 8px padding + the buttons 8px padding, matching the standard 16px cell padding.

These cells should calc their they padding dynamically. Something like a calc(var(--pf-v6-c-table--cell--PaddingBlockStart) - var(--pf-t--global--spacer--control--vertical--plain)) for the top and bottom padding would probably handle it.


Jira Issue: PF-4459

Metadata

Metadata

Assignees

No one assigned

    Labels

    PF TeamIssue originates from PF Team

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions