Fix sidebar close icon not being visible

(Closes #147)
This commit is contained in:
uwap 2020-10-08 17:24:51 +02:00
parent 8376f404e4
commit 9a5557db03

View file

@ -8,6 +8,8 @@ import IconButton from "@material-ui/core/IconButton";
import AppBar from "@material-ui/core/AppBar"; import AppBar from "@material-ui/core/AppBar";
import Toolbar from "@material-ui/core/Toolbar"; import Toolbar from "@material-ui/core/Toolbar";
import List from "@material-ui/core/List"; import List from "@material-ui/core/List";
import ReactIcon from "@mdi/react";
import { mdiClose } from "@mdi/js";
import type { Control } from "config/flowtypes"; import type { Control } from "config/flowtypes";
@ -47,7 +49,7 @@ const SideBar = (props: SideBarProps) => {
{props.control == null ? "" : props.control.name} {props.control == null ? "" : props.control.name}
</Typography> </Typography>
<IconButton onClick={props.onCloseRequest}> <IconButton onClick={props.onCloseRequest}>
<i className="mdi mdi-close"></i> <ReactIcon path={mdiClose} size={1.5} />
</IconButton> </IconButton>
</Toolbar> </Toolbar>
</AppBar> </AppBar>