diff --git a/app/(app)/quizzes/quizzes-list.tsx b/app/(app)/quizzes/quizzes-list.tsx index f5a6055b..5a3dc661 100644 --- a/app/(app)/quizzes/quizzes-list.tsx +++ b/app/(app)/quizzes/quizzes-list.tsx @@ -67,7 +67,9 @@ export function QuizzesList() { {user && ( -
+ // Phones: three equal, thumb-sized tabs across the width. From sm up + // they shrink back to compact pills. +
{( [ ["all", "All"], @@ -80,10 +82,10 @@ export function QuizzesList() { type="button" onClick={() => setFilter(k)} className={cn( - "rounded-full px-3 py-1 text-sm transition-colors", + "min-h-10 rounded-full px-4 py-2 text-[15px] font-medium transition-colors sm:min-h-0 sm:px-3 sm:py-1 sm:text-sm sm:font-normal", filter === k ? "bg-primary text-primary-foreground dark:text-white" - : "text-muted-foreground hover:bg-muted hover:text-foreground", + : "bg-muted/60 text-muted-foreground hover:bg-muted hover:text-foreground sm:bg-transparent", )} > {label} @@ -101,19 +103,21 @@ export function QuizzesList() { : "Nothing here."}

) : ( -