Skip to content

hisnameisjimmy/gatsby-plugin-image-tailwind-specificity

Repository files navigation

GatsbyImage specificity issue with Tailwind aspect-ratio

GatsbyImage css classes are overriding Tailwind classes when deployed/built for prod. It works as expected in development.

To reproduce:

  • npm install
  • gatsby build

Or visit this example:

To see it work normally in development

  • npm install
  • gatsby develop

Screenshots

Develop

CleanShot 2021-11-12 at 11 55 25@2x

Build

CleanShot 2021-11-12 at 11 53 43@2x

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published