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 sprite icons missing viewBox property #2768

Open
6 of 30 tasks
abejenaru opened this issue Feb 5, 2025 · 0 comments
Open
6 of 30 tasks

SVG sprite icons missing viewBox property #2768

abejenaru opened this issue Feb 5, 2025 · 0 comments
Labels
🐛 bug Something isn't working

Comments

@abejenaru
Copy link
Contributor

Package

  • lucide
  • lucide-angular
  • lucide-flutter
  • lucide-preact
  • lucide-react
  • lucide-react-native
  • lucide-solid
  • lucide-svelte
  • lucide-vue
  • lucide-vue-next
  • Figma plugin
  • source/main
  • other/not relevant

Version

0.473.0

Can you reproduce this in the latest version?

  • Yes
  • No

Browser

  • Chrome/Chromium
  • Firefox
  • Safari
  • Edge
  • iOS Safari
  • Opera
  • Other/not relevant

Operating system

  • Windows
  • Linux
  • macOS
  • ChromeOS
  • iOS
  • Android
  • Other/not relevant

Description

Due to missing viewBox property, SVG sprite icons do not scale-down properly.

Steps to reproduce

Trying to scale-down (12x12, 16x16) some SVG sprite icons, the icons are clipped.

Checklist

  • I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)
@abejenaru abejenaru added the 🐛 bug Something isn't working label Feb 5, 2025
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