Skip to content

Commit

Permalink
style: fix Badge padding
Browse files Browse the repository at this point in the history
  • Loading branch information
GZTimeWalker committed Apr 12, 2024
1 parent c77acdc commit 6e5e535
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/GZCTF/ClientApp/src/pages/admin/Teams.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ const Teams: FC = () => {
<tr key={team.id}>
<td>
<Group position="apart" spacing={0} noWrap>
<Group position="left" noWrap w="calc(100% - 6rem)">
<Group position="left" noWrap w="calc(100% - 7rem)">
<Avatar alt="avatar" src={team.avatar} radius="xl">
{team.name?.slice(0, 1)}
</Avatar>
Expand All @@ -230,7 +230,7 @@ const Teams: FC = () => {
styles={{
wrapper: {
flexGrow: 1,
width: 'calc(100% - 2rem)',
width: 'calc(100% - 3rem)',
},
input: {
userSelect: 'none',
Expand All @@ -241,7 +241,7 @@ const Teams: FC = () => {
/>
</Group>

<Badge p={0} size="md" color={team.locked ? 'yellow' : 'gray'}>
<Badge size="md" color={team.locked ? 'yellow' : 'gray'}>
{team.locked
? t('admin.content.teams.locked')
: t('admin.content.teams.unlocked')}
Expand Down

0 comments on commit 6e5e535

Please sign in to comment.