Skip to content

Commit

Permalink
MemberForm: Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
rgalanakis committed Aug 30, 2024
1 parent 1a019df commit 1da3b06
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions adminapp/src/pages/MemberForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { useGlobalApiState } from "../hooks/globalApiState";
import useRoleAccess from "../hooks/useRoleAccess";
import mergeAt from "../shared/mergeAt";
import withoutAt from "../shared/withoutAt";
import theme from "../theme";
import AddIcon from "@mui/icons-material/Add";
import AddCircleOutlineIcon from "@mui/icons-material/AddCircleOutline";
import DeleteIcon from "@mui/icons-material/Delete";
Expand Down Expand Up @@ -112,7 +111,7 @@ function Roles({ roles, setRoles }) {
<FormHelperText>
If you remove special roles like "admin", you will be logged out of this account.
</FormHelperText>
<Stack direction="row" spacing={1} sx={{ mt: theme.spacing(1) }}>
<Stack direction="row" gap={1} sx={{ marginTop: 1, flexWrap: "wrap" }}>
{allRoles === null && <CircularProgress />}
{allRoles?.map((r) => {
const hasRole = hasRoleIds.has(r.id);
Expand Down

0 comments on commit 1da3b06

Please sign in to comment.