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

View File

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

View File

@ -125,7 +125,7 @@ type Props = {
export default function ScoreStats({ score, leaderboard }: Props) {
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} />
</div>
);