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

HTML layout issue with SVGs as brand logos in Safari #2351

Open
ascholerChemeketa opened this issue Jan 3, 2025 · 0 comments
Open

HTML layout issue with SVGs as brand logos in Safari #2351

ascholerChemeketa opened this issue Jan 3, 2025 · 0 comments

Comments

@ascholerChemeketa
Copy link
Contributor

Safari/WebKit doesn't handle the width of resized SVGs as expected. No width is reserved in the parent element. Example:
https://whaynes.github.io/test-logo/frontmatter.html

Need to figure out if there is a CSS only fix that works for SVGs of any aspect ratio. If not, need to figure out how else to get the necessary information into the HTML.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant