-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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: <div> Table classes do not work with DaisyUI styles #2967
Comments
Thank you @edeesis
for reporting issues. It helps daisyUI a lot 💚
|
daisyUI never claimed But why use divs for table at all? |
For one, standard HTML doesn't allow anchors inside a , the TailwindCSS folks suggest using the div with table class css styles: tailwindlabs/tailwindcss#3502 |
I wasn't sure whether this should be opened as a bug or a feature request, but you're right - a feature request would've been better. |
Well, what you're trying to do is fighting the HTML standards and it's usually not a good idea in the first place. It's always a better idea to use HTML table tag for the table and I don't think using divs instead would be a good idea. Let me know if you have any questions |
Thanks for the response! I don't disagree that using table tags is usually better, and it makes sense that y'all would only want to support the HTML tags. Great work on the library, it's been really useful for me! |
What version of daisyUI are you using?
v4.10.1
Which browsers are you seeing the problem on?
All browsers
Reproduction URL
https://play.tailwindcss.com/Et3V8IwLRS
Describe your issue
When using the Display table classes as described here, the DaisyUI CSS styles aren't being applied.
This is similar to the request in #151, but since that one was closed for 2+ years, I decided to open a new one.
The text was updated successfully, but these errors were encountered: