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
When I import Tailwind's style components into index.css, the grid's style changes unexpectedly and no longer appears as the default or preferred design. However, when I comment out @tailwind base;, the style reverts to normal.
Activity
amanmahajan7 commentedon Dec 16, 2024
Can you create a reproducible example?
robert-luoqing commentedon Dec 17, 2024
Here is sample.
The reproduction step is as follows:
data-grid-test.zip
amanmahajan7 commentedon Dec 17, 2024
Can you create a codesandbox/stackblitz example?
robert-luoqing commentedon Dec 18, 2024
https://codesandbox.io/p/devbox/react-data-grid-style-conflict-with-tailwind-sx8whr
amanmahajan7 commentedon Dec 18, 2024
RDG uses css layers and it seems like tailwind styles are unlayed in the above example and the following block overrides RDG styles
Is this a setup issue as it looks like
tailwinddoes have layers . I am changing this issue to a discussion as it is not a bug in RDG