diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-03-21 10:55:10 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-03-21 10:55:10 +0900 |
| commit | 4b28b1eb8ee6177a8009b89ac2200b3b753bc5b1 (patch) | |
| tree | 4180285e8270f9daa22ee71d93397bab8b38dd0b /frontend/app/components/GolfPlayApps/GolfPlayAppGaming.tsx | |
| parent | e31c22dda15a665ffefc13b14a8b377062ef0351 (diff) | |
| download | phperkaigi-2025-albatross-4b28b1eb8ee6177a8009b89ac2200b3b753bc5b1.tar.gz phperkaigi-2025-albatross-4b28b1eb8ee6177a8009b89ac2200b3b753bc5b1.tar.zst phperkaigi-2025-albatross-4b28b1eb8ee6177a8009b89ac2200b3b753bc5b1.zip | |
feat(frontend): support mobile layout
Diffstat (limited to 'frontend/app/components/GolfPlayApps/GolfPlayAppGaming.tsx')
| -rw-r--r-- | frontend/app/components/GolfPlayApps/GolfPlayAppGaming.tsx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/frontend/app/components/GolfPlayApps/GolfPlayAppGaming.tsx b/frontend/app/components/GolfPlayApps/GolfPlayAppGaming.tsx index b9b3159..b40f3c3 100644 --- a/frontend/app/components/GolfPlayApps/GolfPlayAppGaming.tsx +++ b/frontend/app/components/GolfPlayApps/GolfPlayAppGaming.tsx @@ -65,8 +65,10 @@ export default function GolfPlayAppGaming({ </div> <Link to={"/dashboard"}> <div className="flex gap-6 items-center font-bold"> - <div className="text-6xl">{score}</div> - <div className="text-4xl">{playerProfile.displayName}</div> + <div className="text-2xl md:text-6xl">{score}</div> + <div className="hidden md:block text-4xl"> + {playerProfile.displayName} + </div> {playerProfile.iconPath && ( <UserIcon iconPath={playerProfile.iconPath} @@ -98,6 +100,7 @@ export default function GolfPlayAppGaming({ defaultValue={initialCode} onChange={handleTextChange} className="grow resize-none h-full w-full p-2 bg-gray-50 rounded-lg border border-gray-300 focus:outline-hidden focus:ring-2 focus:ring-gray-400 transition duration-300" + rows={10} /> </BorderedContainer> </TitledColumn> |
