change style
This commit is contained in:
@@ -44,20 +44,20 @@ function HideOrShowAll({ hideData, setHideData }) {
|
|||||||
const allVisible = allValuesAre(hideData, true);
|
const allVisible = allValuesAre(hideData, true);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Box sx={{ mx: 2, my: 1, display: "flex", justifyContent: "space-between" }}>
|
<Box sx={{ my: 1, display: "flex" }}>
|
||||||
<Button
|
<Button
|
||||||
|
sx={{ flex: 1 }}
|
||||||
color="info"
|
color="info"
|
||||||
disabled={allVisible}
|
disabled={allVisible}
|
||||||
variant="contained"
|
|
||||||
startIcon={<VisibilityIcon />}
|
startIcon={<VisibilityIcon />}
|
||||||
onClick={handleShowAll}
|
onClick={handleShowAll}
|
||||||
>
|
>
|
||||||
نمایش همه
|
نمایش همه
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
|
sx={{ flex: 1 }}
|
||||||
color="error"
|
color="error"
|
||||||
disabled={allHidden}
|
disabled={allHidden}
|
||||||
variant="contained"
|
|
||||||
startIcon={<VisibilityOffIcon />}
|
startIcon={<VisibilityOffIcon />}
|
||||||
onClick={handleHideAll}
|
onClick={handleHideAll}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user