Skip to content

Commit

Permalink
fix(style): review page
Browse files Browse the repository at this point in the history
  • Loading branch information
GZTimeWalker committed May 8, 2024
1 parent e88bc5f commit d6bf733
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,7 @@ export const ParticipationStatusControl: FC<ParticipationStatusControlProps> = (
const { t } = useTranslation()

return (
<Group
wrap="nowrap"
justify="center"
miw={`calc(${theme.spacing.xl} * 2)`}
m={`0 ${theme.spacing.xs}`}
{...others}
>
<Group wrap="nowrap" justify="center" mx="xs" miw={`calc(${theme.spacing.xl} * 2)`} {...others}>
{part.transformTo.map((value) => {
const s = partStatusMap.get(value)!
return (
Expand Down
2 changes: 1 addition & 1 deletion src/GZCTF/ClientApp/src/pages/admin/games/[id]/Review.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ const ParticipationItem: FC<ParticipationItemProps> = (props) => {
</Text>
</Box>
</Group>
<Group justify="space-between" w="30%">
<Group wrap="nowrap" justify="space-between" w="32%" miw="350px">
<Box>
<Text>{participation.organization}</Text>
<Text size="sm" c="dimmed" fw="bold">
Expand Down
2 changes: 1 addition & 1 deletion src/GZCTF/ClientApp/src/utils/Shared.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ export const useParticipationStatusMap = () => {
ParticipationStatus.Rejected,
{
title: t('game.participation.status.rejected'),
color: 'red',
color: 'gray',
iconPath: mdiClose,
transformTo: [],
},
Expand Down

0 comments on commit d6bf733

Please sign in to comment.