W
Wasp11mo ago
sim_sima_

Edit Body Tags

Hi, is there a way to edit the body tags? I'm trying to include some min-h-screen to prevent a whitespace being created underneath the footer when scrolling, but I'm unable to add the settings to body
1 Reply
martinsos
martinsos11mo ago
You can juest define global css, e.g. src/client/Main.css, import it into your react code, ideally into "rootComponent" (https://wasp-lang.dev/docs/project/client-config#defining-a-common-layout), so it is always loaded, and there you go! In that global css you can say that min-h-screen targets body.
Want results from more Discord servers?
Add your server