vue-sonner
vue-sonner copied to clipboard
Styles are influenced by global CSS
I am using a CSS reset for all <div> elements, and it is affecting the styles of the toasts. This issue started occurring after the changes in the following commit were merged: https://github.com/xiaoluoboding/vue-sonner/commit/2a54869c53674c1d00e8939a587df8d7b0c73ba0
Reproduction: https://stackblitz.com/edit/github-kmsr3acy?file=app.vue,nuxt.config.ts,assets%2Freset.css
Wouldn't it be better to scope the styles to the component?
Same here, had to disable global reset