Remove Redundant Stack
This commit is contained in:
1 parent
029b8fac37
commit
e13f495d71
1 file changed
+24
-30
@@ -136,7 +136,6 @@ const AuthFooter = ({ collapsed, accountMenuItems }) => {
|
|||||||
display: "block",
|
display: "block",
|
||||||
whiteSpace: "nowrap",
|
whiteSpace: "nowrap",
|
||||||
overflow: "hidden",
|
overflow: "hidden",
|
||||||
textOverflow: "ellipsis",
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{authState.user?.firstName} {authState.user?.lastName}
|
{authState.user?.firstName} {authState.user?.lastName}
|
||||||
@@ -152,37 +151,32 @@ const AuthFooter = ({ collapsed, accountMenuItems }) => {
|
|||||||
{getRoleDisplayText(authState.user, t)}
|
{getRoleDisplayText(authState.user, t)}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Stack>
|
</Stack>
|
||||||
<Stack
|
<Tooltip
|
||||||
direction="row"
|
title={t("navControls")}
|
||||||
columnGap={theme.spacing(2)}
|
disableInteractive
|
||||||
>
|
>
|
||||||
<Tooltip
|
<IconButton
|
||||||
title={t("navControls")}
|
sx={{
|
||||||
disableInteractive
|
ml: "auto",
|
||||||
>
|
mr: "-8px",
|
||||||
<IconButton
|
"&:focus": { outline: "none" },
|
||||||
sx={{
|
alignSelf: "center",
|
||||||
ml: "auto",
|
padding: "10px",
|
||||||
mr: "-8px",
|
|
||||||
"&:focus": { outline: "none" },
|
|
||||||
alignSelf: "center",
|
|
||||||
padding: "10px",
|
|
||||||
|
|
||||||
"& svg": {
|
"& svg": {
|
||||||
width: "22px",
|
width: "22px",
|
||||||
height: "22px",
|
height: "22px",
|
||||||
},
|
},
|
||||||
"& svg path": {
|
"& svg path": {
|
||||||
/* Vertical three dots */
|
/* Vertical three dots */
|
||||||
stroke: theme.palette.primary.contrastTextTertiary,
|
stroke: theme.palette.primary.contrastTextTertiary,
|
||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
onClick={(event) => openPopup(event)}
|
onClick={(event) => openPopup(event)}
|
||||||
>
|
>
|
||||||
<DotsVertical />
|
<DotsVertical />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</Stack>
|
|
||||||
</Stack>
|
</Stack>
|
||||||
<Menu
|
<Menu
|
||||||
className="sidebar-popup"
|
className="sidebar-popup"
|
||||||
|
|||||||
Reference in new issue
Block a user