Skip to content

Card: move the surface padding onto the header, content and footer #86

Description

@StanZGenchev

The card pads its own surface, so a table, a list or a calendar that should span the full width of the card has to cancel that padding with p-0! and put it back on every other part by hand. Moving the padding onto x-h-card-header, x-h-card-content and x-h-card-footer, and adding a flush modifier to the x-h-card-content directive, which will remove the padding, solves the issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions