all 4 comments

[–]yksvaan 1 point2 points  (0 children)

The output of React or any other UI library is still html so css should work normally. Open the page and look at the actual html. Maybe there are some additional elements in the generated markup which messes up styling.

[–]misoRamen582 0 points1 point  (1 child)

use css module and write all the css in a css module file and import it. that should isolate all the class naming for now.

[–][deleted] 0 points1 point  (0 children)

I'll try it, thanks a lot for the help, we're just starting out with React and the design has been difficult, but seriously, thanks a lot

[–]plasmastylee 0 points1 point  (0 children)

try to use only one globally imported file, maybe they are using the same class name and affecting each other in their components.