Wierd styling when i import the switch component in vue 3 #2466
Unanswered
AzeemWahid
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I added the default example code in the documentation for the switch component and my switch looks fine until I add the import statement - import { Switch } from '@headlessui/vue'.
The white circular slider in the middle then seems like it loses its margin/padding and hangs out of the bottom switch bar's border halfway. Upon further inspection in the console, the switch element turns into a button when I add the import, not sure if this change impacts it somehow. Thanks for helping
Beta Was this translation helpful? Give feedback.
All reactions