- #1
mathmari
Gold Member
MHB
- 5,049
- 7
Hey!
We have a sidebar menu and at browser I clicked Inspect and we have :
I want to change the width. So I have to customize the given width of Material UI, right?
For that do I have to add a css file with the following?
If that is correct, do we have to import that to the other .js files?
We have a sidebar menu and at browser I clicked Inspect and we have :
.css-1rzb54h .MuiDrawer-paper {
}
- width:
260px
;- background: rgb(255, 255, 255);
- color: rgb(97, 97, 97);
- border-right: none;
I want to change the width. So I have to customize the given width of Material UI, right?
For that do I have to add a css file with the following?
CSS:
<Drawer defaultValue={260} sx={{ width: 500, color: 'success.main', '& .MuiDrawer-paper': { borderRadius: '1px', }, }} />
If that is correct, do we have to import that to the other .js files?