fix(sidebar): Address PR feedback
This commit is contained in:
1 parent
4f6c29cd9a
commit
b04fc145a2
1 file changed
+3
-3
@@ -635,7 +635,7 @@ function Sidebar() {
|
||||
>
|
||||
<ListItemButton
|
||||
className={
|
||||
location.pathname.startsWith(`/ $ { item.path }`) ? "selected-path" : ""
|
||||
location.pathname.startsWith(`/${item.path}`) ? "selected-path" : ""
|
||||
}
|
||||
onClick={() => {
|
||||
const url = URL_MAP[item.path];
|
||||
@@ -785,11 +785,11 @@ function Sidebar() {
|
||||
}}
|
||||
>
|
||||
{collapsed && (
|
||||
<MenuItem sx={{ cursor: "default", minWidth: "200px" }}>
|
||||
<MenuItem sx={{ cursor: "default", minWidth: "50%" }}>
|
||||
<Box
|
||||
mb={theme.spacing(2)}
|
||||
sx={{
|
||||
minWidth: "200px",
|
||||
minWidth: "50%",
|
||||
maxWidth: "max-content",
|
||||
overflow: "visible",
|
||||
whiteSpace: "nowrap",
|
||||
|
||||
Reference in new issue
Block a user