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 have a project where I am using @nuxtjs/tailwindcss and@nuxt/content modules. Plus the @nuxt-themes/typography layer.
When I have a button with type="submit" in my app, I noticed the background-color is being overwritten to transparent. I narrowed it down to the following rule:
Furthermore, only background styles applied with tailwind are overwritten. In the reproduction you can see my custom css class does not get overwritten. There appears to be some type of conflict between tailwind module and nuxt typography styles.
Here is a more complete rule set applied to the button. The btn-primary styles are being overwritten:
I have a project where I am using
@nuxtjs/tailwindcss
and@nuxt/content
modules. Plus the@nuxt-themes/typography
layer.When I have a button with
type="submit"
in my app, I noticed thebackground-color
is being overwritten totransparent
. I narrowed it down to the following rule:I have prepared a minimal reproduction in Stackblitz:
https://stackblitz.com/edit/nuxt-starter-hbzcrc?file=app.vue
Furthermore, only background styles applied with tailwind are overwritten. In the reproduction you can see my custom css class does not get overwritten. There appears to be some type of conflict between tailwind module and nuxt typography styles.
Here is a more complete rule set applied to the button. The
btn-primary
styles are being overwritten:The text was updated successfully, but these errors were encountered: