fixed height for these
All checks were successful
Deploy Website / deploy (push) Successful in 3m55s

This commit is contained in:
Lee 2024-10-12 20:24:40 +01:00
parent cb9bc2143c
commit b86fb3a609
2 changed files with 2 additions and 2 deletions

@ -35,7 +35,7 @@ export default function ScoreButtons({
const { toast } = useToast(); const { toast } = useToast();
return ( return (
<div className="flex justify-end gap-2"> <div className="flex justify-end gap-2 h-[64px]">
<div <div
className={`flex ${alwaysSingleLine ? "flex-nowrap" : "flex-wrap"} items-center lg:items-start justify-center lg:justify-end gap-1`} className={`flex ${alwaysSingleLine ? "flex-nowrap" : "flex-wrap"} items-center lg:items-start justify-center lg:justify-end gap-1`}
> >

@ -125,7 +125,7 @@ type Props = {
export default function ScoreStats({ score, leaderboard }: Props) { export default function ScoreStats({ score, leaderboard }: Props) {
return ( return (
<div className={`grid grid-cols-3 grid-rows-2 gap-1 ml-0 lg:ml-2`}> <div className={`grid grid-cols-3 grid-rows-2 gap-1 ml-0 lg:ml-2 h-[64px]`}>
<ScoreBadges badges={badges} score={score} leaderboard={leaderboard} /> <ScoreBadges badges={badges} score={score} leaderboard={leaderboard} />
</div> </div>
); );