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

SVG icons are not correctly aligned inside anchor tags #686

Open
martendegroot opened this issue Jan 14, 2025 · 0 comments
Open

SVG icons are not correctly aligned inside anchor tags #686

martendegroot opened this issue Jan 14, 2025 · 0 comments
Assignees
Labels
MakePretty Is working, but not pretty yet

Comments

@martendegroot
Copy link
Collaborator

martendegroot commented Jan 14, 2025

Like shown in the screenshot below:

image

Taken from Frank Breedijks profile page .

I had already a previous go at fixing this inside buttons: df84e61

But the underlying issue here is that our SVG tags aren't allowed to render inline. I think there should be solutions to this, like mentioned in this article . Google for something like "display svg inline inside anchor tag" and go nuts.

I'd expect the SVG to be somewhere after the text, not after the block of text. Like so:

image

And not entirely on the right either.

@Marieke-DIVD Marieke-DIVD added the MakePretty Is working, but not pretty yet label Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MakePretty Is working, but not pretty yet
Projects
None yet
Development

No branches or pull requests

3 participants