aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-03-15 21:11:03 +0900
committernsfisis <nsfisis@gmail.com>2025-03-15 21:11:03 +0900
commit074c7feb19efeb936025410ba6ec95ac01884f5e (patch)
tree83113b7fbb31a220150828685b1e0e8a03ebe37f
parent35d1be206c6be675d92839cfa209fceb5d1b6db9 (diff)
downloadiosdc-japan-2025-albatross-074c7feb19efeb936025410ba6ec95ac01884f5e.tar.gz
iosdc-japan-2025-albatross-074c7feb19efeb936025410ba6ec95ac01884f5e.tar.zst
iosdc-japan-2025-albatross-074c7feb19efeb936025410ba6ec95ac01884f5e.zip
feat(frontend): improve user label style
-rw-r--r--frontend/app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx4
-rw-r--r--frontend/app/components/UserLabel.tsx2
2 files changed, 4 insertions, 2 deletions
diff --git a/frontend/app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx b/frontend/app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx
index b382850..ff60641 100644
--- a/frontend/app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx
+++ b/frontend/app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx
@@ -88,7 +88,9 @@ export default function GolfWatchAppGamingMultiplayer({
<td className="px-6 py-4 whitespace-nowrap text-gray-900">
{entry.player.display_name}
{entry.player.label && (
- <UserLabel label={entry.player.label} />
+ <span className="mx-2">
+ <UserLabel label={entry.player.label} />
+ </span>
)}
</td>
<td className="px-6 py-4 whitespace-nowrap text-gray-900">
diff --git a/frontend/app/components/UserLabel.tsx b/frontend/app/components/UserLabel.tsx
index b436ad6..16ef4d4 100644
--- a/frontend/app/components/UserLabel.tsx
+++ b/frontend/app/components/UserLabel.tsx
@@ -4,7 +4,7 @@ type Props = {
export default function UserLabel({ label }: Props) {
return (
- <span className="bg-sky-700 text-sky-50 rounded-lg p-3 text-sm">
+ <span className="bg-sky-600 text-sky-50 rounded-lg p-3 text-sm">
{label}
</span>
);