Skip to content

Commit e9f1bd5

Browse files
committed
fix: mobile scoreboard style
1 parent 9f62b75 commit e9f1bd5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/GZCTF/ClientApp/src/components/AppHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const AppHeader: FC = () => {
8080
to={`/account/login?from=${location.pathname}`}
8181
icon={<Icon path={mdiAccountCircleOutline} size={1} />}
8282
>
83-
t('common.tab.account.login')
83+
{t('common.tab.account.login')}
8484
</Menu.Item>
8585
)}
8686
<Menu.Divider />

src/GZCTF/ClientApp/src/components/MobileScoreboardTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ const MobileScoreboardTable: FC<ScoreboardProps> = ({ organization, setOrganizat
158158
<Group position="center">
159159
<Pagination
160160
noWrap
161-
size="sm"
161+
size="md"
162162
value={activePage}
163163
onChange={setPage}
164164
total={Math.ceil((filtered?.length ?? 1) / ITEM_COUNT_PER_PAGE)}

src/GZCTF/ClientApp/src/pages/games/[id]/Scoreboard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const Scoreboard: FC = () => {
2424
return (
2525
<WithNavBar width="90%" minWidth={0}>
2626
{isMobile ? (
27-
<Stack pb="md">
27+
<Stack pt="md">
2828
{data && !error && <TeamRank />}
2929
{isVertical ? (
3030
<MobileScoreboardTable

0 commit comments

Comments
 (0)