Under my root div react creates another div \"automatically\". Is there a way to add a class to that div? I need to add height: 100% to it to prevent the background content to s
#root > [data-reactroot] { height: 100% } in your CSS should work.
#root > [data-reactroot] { height: 100% }
Or just the tag itself:
[data-reactroot] { ... }