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
|
<ListItemButton
|
||||||
className={
|
className={
|
||||||
location.pathname.startsWith(`/ $ { item.path }`) ? "selected-path" : ""
|
location.pathname.startsWith(`/${item.path}`) ? "selected-path" : ""
|
||||||
}
|
}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
const url = URL_MAP[item.path];
|
const url = URL_MAP[item.path];
|
||||||
@@ -785,11 +785,11 @@ function Sidebar() {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{collapsed && (
|
{collapsed && (
|
||||||
<MenuItem sx={{ cursor: "default", minWidth: "200px" }}>
|
<MenuItem sx={{ cursor: "default", minWidth: "50%" }}>
|
||||||
<Box
|
<Box
|
||||||
mb={theme.spacing(2)}
|
mb={theme.spacing(2)}
|
||||||
sx={{
|
sx={{
|
||||||
minWidth: "200px",
|
minWidth: "50%",
|
||||||
maxWidth: "max-content",
|
maxWidth: "max-content",
|
||||||
overflow: "visible",
|
overflow: "visible",
|
||||||
whiteSpace: "nowrap",
|
whiteSpace: "nowrap",
|
||||||
|
|||||||
Reference in new issue
Block a user