A
A
Alexander2021-05-06 22:26:44
material design
Alexander, 2021-05-06 22:26:44

How to set custom column widths in material ul?

How to set your own column width in material ul if the proposed options do not fit the layout?
Need Navbar to be 275px, Content 600, Sidebar 350px

<Container>
        <Grid container spacing={5}>
          <Grid item xs={2}>
            <Navbar />
          </Grid>
          <Grid item xs={6}>
            <Route path='/' component={HomePage} />
            <Route path='/user/:id' component={UserPage} exact />
          </Grid>
          <Grid item xs={4}>
            <SideBar />
          </Grid>
        </Grid>
      </Container>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question