Open tyler-ground opened 3 years ago
Pr welcome for this :)
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
Can't you just not import the CSS? Or copy the CSS file into your project and change it
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.