sidebar position fixed
This commit is contained in:
parent
0a8546f6f7
commit
e810900c7e
@ -16,7 +16,7 @@ import SidebarUser from "./SidebarUser";
|
||||
|
||||
// TODO: toolbar on top of sidebar since it goes under the navbar
|
||||
|
||||
const drawerWidth = "12.5%";
|
||||
const drawerWidth = "200px";
|
||||
|
||||
const Sidebar: React.FC = () => {
|
||||
const [group, setGroup] = useState<string>("Favorites");
|
||||
@ -33,15 +33,16 @@ const Sidebar: React.FC = () => {
|
||||
selectUserStatuses(state, groupMembersUuids)
|
||||
);
|
||||
|
||||
console.log(group);
|
||||
|
||||
return (
|
||||
<Drawer
|
||||
sx={{
|
||||
width: drawerWidth,
|
||||
"& .MuiDrawer-paper": {
|
||||
width: drawerWidth,
|
||||
position: "static",
|
||||
height: "100%",
|
||||
},
|
||||
height: "100%",
|
||||
}}
|
||||
variant="permanent"
|
||||
anchor="right"
|
||||
|
||||
Reference in New Issue
Block a user