How do I make Material UI container have full width and height?

 https://stackoverflow.com/questions/70238818/how-do-i-make-material-ui-container-have-full-width-and-height

You will need to add maxWidth={false} and disableGutters properties to the <Container/> component. Additionally, you should include the <CssBaseline/> component to reset the browser's CSS.

Example:

<>
    <CssBaseline />
    <Container maxWidth={false} disableGutters>
      {children}
    </Container>
</>

Container API

NameTypeDefaultDescription
maxWidth'xs', 'sm', 'md', 'lg', 'xl', false, stringDetermine the max-width of the container. The container width grows with the size of the screen. Set to false to disable maxWidth.
disableGuttersboolfalseIf true, the left and right padding is removed.

Không có nhận xét nào:

AH00035 permission denied

  sudo chmod 751 /home/ubuntu sudo chown -R ubuntu:www-data /home/ubuntu/genealogy-giapha sudo chmod -R 750 /home/ubuntu/genealogy...