Home > Blockchain >  How can I fix height on MaterialUI?
How can I fix height on MaterialUI?

Time:03-19

How can I fix this white line?enter image description here If I make height:100% it looks so:enter image description here

CodePudding user response:

In your main page component which contains all the components of your page like App.js Add a Box element and add some styling in it.

<Box sx={{height:'100vh', background:'your_background'}}>
   Your components
</Box>
  • Related