Skip to content

Commit b94c62b

Browse files
committed
fixed DrawerHeader style issues in MinimizedDfa
1 parent 6810ec0 commit b94c62b

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/features/components/minimzeDfa/MinimizedDfa.tsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,6 @@ const DrawerHeader = styled("div")(({ theme }) => ({
105105
display: "flex",
106106
alignItems: "center",
107107
padding: theme.spacing(0, 1),
108-
justifyContent: "space-evenly",
109-
backgroundColor: appBarBackgroundColor,
110-
boxShadow: drawerHeaderBoxShadow,
111108
// necessary for content to be below app bar
112109
...theme.mixins.toolbar,
113110
}));
@@ -589,7 +586,13 @@ export const MinimizedDfa = (props: MinimizedDfaProps) => {
589586
anchor="left"
590587
open={open === 1}
591588
>
592-
<DrawerHeader>
589+
<DrawerHeader
590+
sx={{
591+
justifyContent: "space-evenly",
592+
backgroundColor: appBarBackgroundColor,
593+
boxShadow: drawerHeaderBoxShadow,
594+
}}
595+
>
593596
<Typography
594597
noWrap
595598
variant="overline"

0 commit comments

Comments
 (0)