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

[Bug] Icons enlarged using Capacitor 5 #959

Closed
Ambrise opened this issue Nov 13, 2023 · 2 comments
Closed

[Bug] Icons enlarged using Capacitor 5 #959

Ambrise opened this issue Nov 13, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Ambrise
Copy link

Ambrise commented Nov 13, 2023

Environment

  • Operating System: Windows_NT
  • Node Version: v20.7.0
  • Nuxt Version: 3.8.1
  • CLI Version: 3.9.1
  • Nitro Version: -
  • Package Manager: yarn@1.22.19
  • Builder: -
  • User Config: ssr, app, modules, ui, spaLoadingTemplate, devtools, imports, colorMode, googleFonts
  • Runtime Modules: @vueuse/nuxt@10.6.1, @nuxt/ui@2.10.0, @nuxtjs/color-mode@3.3.0, @nuxtjs/google-fonts@3.0.2, nuxt-icon@0.6.5
  • Build Modules: -

Version

UI : v2.10.0

Reproduction

image

Description

Good morning,
Using the UIcon or UButton components, some FontAwesome6 icons (I haven't tested on others) are stretched as can be seen in the image. Indeed, at the top left, the "retry" icon is displayed correctly but the "play" icon is stretched. The stretched effect is only present when I convert my nuxt project into a mobile application via Capacitor 5. When I view the icon from a browser everything is fine.
thank you in advance for your response
Sincerely
Axel

Additional context

No response

Logs

No response

@Ambrise Ambrise added the bug Something isn't working label Nov 13, 2023
Copy link
Member

This might be related to #1002 and if so, can be fixed using https://ui.nuxt.com/dev/getting-started/theming#custom-config. It's only available on Edge as of right now.

@Ambrise
Copy link
Author

Ambrise commented Dec 1, 2023

It's perfect, it works fine when I add the following configuration lines

image

@Ambrise Ambrise closed this as completed Dec 1, 2023
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

2 participants