You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using vaul to make a web component, a button, which is to be embedded on any ecom store. When this web component is loaded on that page, it completely messes up the styling of that page shown as in the example image below.
I don't know why Vaul is forcing full width wherever the component is used. I have checked my code and I have not added any width classes which might cause this issue which makes me believe the issue is likely with how vaul is mounted or its style assets.
I want the button to appear below the color section without messing up the styling of the store.
How the store looks without the component:
How the store actually looks when using the button component:
Here's the code that I am using for making this button:
I am using vaul to make a web component, a button, which is to be embedded on any ecom store. When this web component is loaded on that page, it completely messes up the styling of that page shown as in the example image below.
I don't know why Vaul is forcing full width wherever the component is used. I have checked my code and I have not added any width classes which might cause this issue which makes me believe the issue is likely with how vaul is mounted or its style assets.
I want the button to appear below the
color
section without messing up the styling of the store.How the store looks without the component:
How the store actually looks when using the button component:
Here's the code that I am using for making this button:
Why is this forcing full width and messing up the styling?
Any help would be highly appreciated.
The text was updated successfully, but these errors were encountered: