Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

overriding button padding #87

Closed
khoivan88 opened this issue Jun 17, 2021 · 2 comments
Closed

overriding button padding #87

khoivan88 opened this issue Jun 17, 2021 · 2 comments

Comments

@khoivan88
Copy link

Hi,

First of all, thank you for this very useful library. I have been using this for one of my websites and it works great. Today, I was upgrading from 0.20.1 to 1.3.7 and noticed that something broke. Specifically, I have a button with this class: ...btn btn-primary btn-lg px-1... . In the earlier version, I use the px-1 to control the width of the button and it worked great. However, switching to the newer daisyui, it seems that px-1 is overridden by the btn-lg class. I believe this is a bug but I'm not 100% sure. Would you have any pointer for me?

Thank you very much!

@saadeghi
Copy link
Owner

saadeghi commented Jun 17, 2021

@khoivan88 Thanks for reporting this. fixed on latest version 1.3.11
demo: https://play.tailwindcss.com/f91t1expmq

@khoivan88
Copy link
Author

khoivan88 commented Jun 17, 2021

Thank you very very much! It worked like a charm! 😄 👍

inorganik pushed a commit to inorganik/daisyui that referenced this issue Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants