Replies: 1 comment
-
|
This is a subtle CSS + SVG rendering issue, not a Docusaurus-specific bug. What’s happening in your case:
That’s because
❌ Why PNG works but SVG doesn’t
So:
|
Beta Was this translation helpful? Give feedback.
-
|
This is a subtle CSS + SVG rendering issue, not a Docusaurus-specific bug. What’s happening in your case:
That’s because
❌ Why PNG works but SVG doesn’t
So:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm trying to use an SVG as a bullet for my li's but to no avail.
My component's css module uses my SVG that's in my static/img folder like so:
With this, my SVG is found and turned into url(data:image/svg...). My inspector in Brave shows me the icon when I hover over the content property but... nothing shows up on my page.
If I use a PNG file in my
contentproperty also from static/img, my bullet appears.What am I doing wrong with SVGs?
Beta Was this translation helpful? Give feedback.
All reactions