-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
SVG of submenu is collapse #666
Comments
The item directly inside You can see examples with SVG icons here: https://daisyui.com/components/menu/ Let me know if you have any questions. |
Thank you for the reply. Do you mean using a different tag instead of the SVG is now rendered correctly by doing the following.
|
No that's not valid HTML. <ul>
<li>
<span>
<svg>...</svg>
</span>
</li>
</ul> |
I've tried that method. |
What do you mean broken? |
I'm sorry for my poor explanation. If there is an
|
Got it. It will be fixed soon. thanks for the details 👍 |
Thank you. |
daisy ui is very useful. However, I am having trouble with.
If you place an SVG with rect in a submenu, the SVG will be 100% width.
For example, a square SVG will be a rectangle.
I think this is having impact.
After the following modification, it now displays correctly.
I would be happy to have it confirmed.
Best regards.
The text was updated successfully, but these errors were encountered: