Skip to content

Commit

Permalink
Minor mobile layout fixes Closes #1922
Browse files Browse the repository at this point in the history
  • Loading branch information
Sendouc committed Oct 10, 2024
1 parent 4beec2a commit de9cb60
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/features/calendar/routes/calendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ function EventsList({
}

const sectionWeekday = daysDate.toLocaleString(i18n.language, {
weekday: "long",
weekday: "short",
});

return (
Expand All @@ -418,7 +418,7 @@ function EventsList({
const eventWeekday = databaseTimestampToDate(
calendarEvent.startTime,
).toLocaleString(i18n.language, {
weekday: "long",
weekday: "short",
});

const startTimeDate = databaseTimestampToDate(
Expand Down
2 changes: 1 addition & 1 deletion app/features/tournament/routes/to.$id.results.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default function TournamentResultsPage() {
tournamentId: tournament.ctx.id,
tournamentTeamId: standing.team.id,
})}
className="stack xs horizontal items-center text-main-forced"
className="tournament__standings__team-name"
data-testid="result-team-name"
>
{teamLogoSrc ? (
Expand Down
9 changes: 9 additions & 0 deletions app/features/tournament/tournament.css
Original file line number Diff line number Diff line change
Expand Up @@ -628,3 +628,12 @@
.tournament__standings__match-result-square--loss {
border-color: var(--theme-error);
}

.tournament__standings__team-name {
min-width: 125px;
word-break: break-word;
display: flex;
gap: var(--s-1-5);
align-items: center;
color: var(--text);
}

0 comments on commit de9cb60

Please sign in to comment.