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

bug(typography): can't use before/after:content with .prose code #2589

Closed
vchirikov opened this issue Nov 28, 2023 · 2 comments
Closed

bug(typography): can't use before/after:content with .prose code #2589

vchirikov opened this issue Nov 28, 2023 · 2 comments

Comments

@vchirikov
Copy link

What version of daisyUI are you using?

4.4.10

Which browsers are you seeing the problem on?

All browsers

Reproduction URL

https://play.tailwindcss.com/8V87f1WNwn

Describe your issue

Hi, first of all thanks for your awesome library.

I found that I can't add use before:content (or after:content) with daisyui in div.prose even if I add not-prose

& code:after,
& code:before {
content: none;
}

Could we add not-prose selector for before/after here?

@vchirikov vchirikov changed the title bug: bug(typography): can't use before/after:content with .prose cod Nov 28, 2023
@vchirikov
Copy link
Author

vchirikov commented Nov 28, 2023

as workaround you can use !important (with tailwindcss it's before:!content-[attr(data-test)])

@vchirikov vchirikov changed the title bug(typography): can't use before/after:content with .prose cod bug(typography): can't use before/after:content with .prose code Nov 28, 2023
@saadeghi
Copy link
Owner

Fixed in 4.4.11

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