From 9e712530b03a8a790e05b93e4102755da2f007ac Mon Sep 17 00:00:00 2001 From: trafficlunar Date: Tue, 21 Apr 2026 19:59:32 +0100 Subject: [PATCH] fix: make makeup options on submit form clearer --- backend/src/components/admin/mii-list.tsx | 2 +- frontend/src/index.css | 2 +- frontend/src/pages/submit.tsx | 63 +++++++---------------- 3 files changed, 22 insertions(+), 45 deletions(-) diff --git a/backend/src/components/admin/mii-list.tsx b/backend/src/components/admin/mii-list.tsx index a62dbe4..3ae9e63 100644 --- a/backend/src/components/admin/mii-list.tsx +++ b/backend/src/components/admin/mii-list.tsx @@ -11,7 +11,7 @@ export default async function MiiList({ searchParams }: Props) { const parsed = searchSchema.safeParse(searchParams); if (!parsed.success) return

{parsed.error.issues[0].message}

; - const { page = 1, limit = 24 } = parsed.data; + const { page = 1, limit = 100 } = parsed.data; const skip = (page - 1) * limit; diff --git a/frontend/src/index.css b/frontend/src/index.css index 94122b9..6262283 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -20,7 +20,7 @@ } #root { - @apply antialiased flex flex-col items-center w-screen h-screen; + @apply antialiased flex flex-col items-center w-full min-h-screen; } .pill { diff --git a/frontend/src/pages/submit.tsx b/frontend/src/pages/submit.tsx index 754621d..47f32c2 100644 --- a/frontend/src/pages/submit.tsx +++ b/frontend/src/pages/submit.tsx @@ -342,49 +342,26 @@ export default function SubmitPage() { {/* Makeup (switch only) */}
- + -
- {/* Full Makeup */} - - - {/* Partial Makeup */} - - - {/* No Makeup */} - +
+ {[ + { value: "FULL", label: "Full", desc: "Most of the face/features are covered", color: "pink" }, + { value: "PARTIAL", label: "Partial", desc: "Small designs that don't cover features, like marks, stickers, etc.", color: "purple" }, + { value: "NONE", label: "None", desc: "No face paint present.", color: "gray" }, + ].map(({ value, label, desc, color }) => ( + + ))}
@@ -503,7 +480,7 @@ export default function SubmitPage() { - Mii editor may be inaccurate. Instructions are recommended, but not required - you do not have to add every instruction. + Mii editor may be inaccurate. Instructions are REALLY recommended, but you do not have to add every instruction.