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

Alignment issue when svg is scaled in Safari #5

Open
RedHeadphone opened this issue Mar 26, 2023 · 3 comments
Open

Alignment issue when svg is scaled in Safari #5

RedHeadphone opened this issue Mar 26, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@RedHeadphone
Copy link
Owner

RedHeadphone commented Mar 26, 2023

image

related #3

Reproduce:

setting height="500" to img tag with src="https://codeforces-readme-stats.vercel.app/api/card?username=redheadphone"

@RedHeadphone RedHeadphone changed the title Icon alignment in Safari Alignment issue when svg is scaled in Safari Mar 27, 2023
@RedHeadphone RedHeadphone added the bug Something isn't working label Mar 29, 2023
@RedHeadphone
Copy link
Owner Author

Not related to Safari, but it should be fixed with this issue. If the name/username is too big, it causes the stats part to crop out of the card.

image

@RedHeadphone
Copy link
Owner Author

This is replicated on the GNOME web browser as well

@RedHeadphone
Copy link
Owner Author

  • same icons from github readme stats project
  • remove redundant svg code and follow same svg structure as in github readme stats project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant