Skip to content

bug: (v5) I can't override inline the font-size of a button without using important #3641

Description

@andresemartinez

Reproduction URL (Required)

https://play.tailwindcss.com/llKuVQE0tI

What version of daisyUI are you using?

v5.0.0

Which browsers are you seeing the problem on?

No response

Describe your issue

I have an element with btn btn-sm classes. If I want a different font size for that element I should be able to add text-* and change it only for that element, but it doesn't work unless I use important.

EDIT: This wasn't a problem on v4

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions