mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 03:23:48 +01:00
Reduce size of visibility-toggle Fab
Current fab is oversized, reduce size to further reduce click footprint of visibility toggle.
This commit is contained in:
parent
61770ea717
commit
f915799fdc
@ -46,7 +46,7 @@ export function Overview({ children }: IProps): React.ReactElement {
|
|||||||
return (
|
return (
|
||||||
<Paper square classes={{ root: classes.overviewContainer }}>
|
<Paper square classes={{ root: classes.overviewContainer }}>
|
||||||
<Collapse in={open}>{children}</Collapse>
|
<Collapse in={open}>{children}</Collapse>
|
||||||
<Fab classes={{ root: classes.visibilityToggle }} onClick={() => setOpen((old) => !old)}>
|
<Fab size="small" classes={{ root: classes.visibilityToggle }} onClick={() => setOpen((old) => !old)}>
|
||||||
{icon}
|
{icon}
|
||||||
</Fab>
|
</Fab>
|
||||||
</Paper>
|
</Paper>
|
||||||
|
Loading…
Reference in New Issue
Block a user