ArrowsK
ArrowsK3mo ago

Fresh partials - navigation with icons

Hey, I'm using partials, and they work fine - as long as I use regular text in a link (<a>), but when I put SVG icon inside, the system leads me to a 404-error page. Any clue why? <a href="/main/trening" f-partial="/partials/main/trening"> click me </a> <a href="/main/trening" f-partial="/partials/main/trening"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"> <path d="..."/> </svg> </a>
1 Reply
ArrowsK
ArrowsKOP3mo ago
@Adamgreg found a solution, if you set SVG style (.CSS) to pointer-events:none - everything works fine.