Skip to content

Commit

Permalink
unify row button styles
Browse files Browse the repository at this point in the history
  • Loading branch information
rtrembecky committed Nov 22, 2024
1 parent f8dcc20 commit ca9a8be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/CompetitionPage/CompetitionPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const CompetitionPage: FC<CompetitionPageProps> = ({
<Typography variant="h3" component="span">
{name} {event.school_year}
</Typography>
<Stack direction="row" gap={2}>
<Stack direction="row" sx={{gap: {xs: 1, sm: 2}}}>
{event.publication_set.map((publication) => (
<Link variant="button2" key={publication.id} href={`/api/${publication.file}`}>
{publication.name}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const UpcomingOrCurrentEventInfo: FC<{event: Event; name: string; shortNa
<Typography variant="body1" fontWeight={800}>
{registrationInfo}
</Typography>
<Stack sx={{alignItems: 'end'}}>
<Stack direction="row" sx={{justifyContent: 'end', gap: {xs: 1, sm: 2}}}>
{publication_set.length > 0 && (
<Link variant="button2" href={`/api/${publication_set[0].file}`}>
Pozvánka
Expand Down
2 changes: 1 addition & 1 deletion src/components/Problems/Problem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export const Problem: FC<{
mt: 0.5,
justifyContent: 'end',
flexWrap: 'wrap',
columnGap: {xs: 1, sm: 2, md: 2},
columnGap: {xs: 1, sm: 2},
rowGap: 1,
}}
>
Expand Down

0 comments on commit ca9a8be

Please sign in to comment.