mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-10-01 07:37:55 -05:00
Fix tournament register page layout issues on mobile
This commit is contained in:
@@ -284,6 +284,8 @@ export default function TournamentRegisterPage() {
|
||||
const isRegularMemberOfATeam =
|
||||
teamMemberOf && !tournament.ownedTeamByUser(user);
|
||||
|
||||
const startsAtEvenHour = tournament.ctx.startTime.getMinutes() === 0;
|
||||
|
||||
return (
|
||||
<div className="stack lg">
|
||||
<div className="tournament__logo-container">
|
||||
@@ -321,7 +323,7 @@ export default function TournamentRegisterPage() {
|
||||
{isMounted
|
||||
? tournament.ctx.startTime.toLocaleString(i18n.language, {
|
||||
timeZoneName: "short",
|
||||
minute: "numeric",
|
||||
minute: startsAtEvenHour ? undefined : "numeric",
|
||||
hour: "numeric",
|
||||
day: "numeric",
|
||||
month: "long",
|
||||
|
||||
@@ -201,6 +201,7 @@
|
||||
|
||||
.tournament__logo {
|
||||
border-radius: 100%;
|
||||
min-width: 124px;
|
||||
}
|
||||
|
||||
.tournament__title {
|
||||
|
||||
Reference in New Issue
Block a user