Skip to content

Conversation

@kadiryazici
Copy link
Member

Without viewbox even if we resize SVG's their path's wouldn't resize. With this PR svgs are scaling according to font-size.

  • Unnecessarry scale: X properties are deleted due to font-size

Copy link
Member

@razor-x razor-x left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat. Just need to get CI green and should be good to merge. Please update the PR title if this fixes or improves something, e.g., feat: Improve icon scaling for ....

@kadiryazici kadiryazici changed the title Use ViewBox for Icons. feat: Improve icon scaling by using viewBox and fontSize Jan 22, 2025
Copy link
Member

@razor-x razor-x left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kadiryazici I undid some whitespace changes to trigger another deploy to get CI passing. I added you to vercel so future PR commits should work.

@razor-x razor-x merged commit 94ffcde into main Jan 22, 2025
18 checks passed
@razor-x razor-x deleted the kadir/cx-199-update-icons-to-figma-version branch January 22, 2025 21:58
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

Successfully merging this pull request may close these issues.

4 participants