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
Import your styles in parent folder
and import react-responsive-modal/styles.css in child folder
Now css Specificity Rules applies. And your your styles will take effect
This would be useful for people using tailwindcss or any other utility class css framework. Currently difficult to even set the modal background color and would prefer to be using tailwind classes and not importing and customising css for consistency.
Some of my classes only partially take effect because the built in responsive-modal-modal class overrides some of the styles in them.
It would be great if I can add a noDefaultStyles={true} param to bypass the existing classes.
The text was updated successfully, but these errors were encountered: