We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
v4.4.2
all
https://github.com/cozemble/monorepo/blob/main/frontend/tojson/src/routes/(landing)/pricing/Plan.svelte
I am migrating a project made with DaisyUI v3 to v4. I have found a minor problem that can be easily fixed.
When there is a button inside a container with bg-opacity-*, that bg opacity class is inherited to the button.
bg-opacity-*
<div class="bg-opacity-20"> <button class="btn btn-neutral">Test</button> </div>
renders like:
Can be prevented by doing this:
<div class="bg-opacity-20"> <button class="btn btn-neutral bg-opacity-100">Test</button> </div>
renders:
The text was updated successfully, but these errors were encountered:
ccb496d
No branches or pull requests
What version of daisyUI are you using?
v4.4.2
Which browsers are you seeing the problem on?
all
Reproduction URL
https://github.com/cozemble/monorepo/blob/main/frontend/tojson/src/routes/(landing)/pricing/Plan.svelte
Describe your issue
I am migrating a project made with DaisyUI v3 to v4. I have found a minor problem that can be easily fixed.
When there is a button inside a container with
bg-opacity-*
, that bg opacity class is inherited to the button.renders like:
Can be prevented by doing this:
renders:
The text was updated successfully, but these errors were encountered: