Skip to content

BUG: Tailwind classes of parent element don't get applied to Button #522

@kuchiPie

Description

@kuchiPie

Description

Bit unsure if it is a bug or an enhancement.

I noticed that tailwind classes don't get applied to the button the way it works on other libraries. The buttons inside the table are not left-aligned even after className="text-right" is applied to it's parent element.

ShadCN:
image
RadUI:
image

Related Tickets & Documents

e.g., Relates to [#4165]

Mobile & Desktop Screenshots/Recordings

If applicable, add screenshots/recordings that show:

  • The bug in action
  • Any error messages
  • The expected behavior (if possible)

[optional]What gif best describes this PR or how it makes you feel?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions