Add minimum constraints for tail resize

This commit is contained in:
Snarling 2022-04-23 19:51:39 -04:00
parent f05df0659d
commit 4e64d6df5b

@ -290,6 +290,7 @@ function LogWindow(props: IProps): React.ReactElement {
className={classes.logs} className={classes.logs}
height={500} height={500}
width={500} width={500}
minConstraints={[250, 30]}
handle={ handle={
<span style={{ position: "absolute", right: "-10px", bottom: "-13px", cursor: "nw-resize" }}> <span style={{ position: "absolute", right: "-10px", bottom: "-13px", cursor: "nw-resize" }}>
<ArrowForwardIosIcon color="primary" style={{ transform: "rotate(45deg)" }} /> <ArrowForwardIosIcon color="primary" style={{ transform: "rotate(45deg)" }} />