fix mobile score
All checks were successful
Deploy Website / docker (ubuntu-latest) (push) Successful in 2m25s
All checks were successful
Deploy Website / docker (ubuntu-latest) (push) Successful in 2m25s
This commit is contained in:
parent
5d7bdc17b1
commit
dd162bf77c
@ -118,8 +118,8 @@ export default function Score({ leaderboard, beatSaverMap, score, settings }: Pr
|
|||||||
};
|
};
|
||||||
|
|
||||||
const gridColsClass = settings?.noScoreButtons
|
const gridColsClass = settings?.noScoreButtons
|
||||||
? "grid-cols-[20px_1fr_1fr] lg:grid-cols-[0.5fr_4fr_300px]"
|
? "grid-cols-[20px 1fr_1fr] lg:grid-cols-[0.5fr_4fr_300px]" // Fewer columns if no buttons
|
||||||
: "grid-cols-[20px_1fr_1fr] lg:grid-cols-[0.5fr_4fr_1fr_300px]";
|
: "grid-cols-[20px 1fr_1fr] lg:grid-cols-[0.5fr_4fr_1fr_300px]"; // Original with buttons
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="pb-2 pt-2">
|
<div className="pb-2 pt-2">
|
||||||
|
Reference in New Issue
Block a user