diff --git a/client/src/components/auth/AuthModal.tsx b/client/src/components/auth/AuthModal.tsx index f92c3a6..41289bc 100644 --- a/client/src/components/auth/AuthModal.tsx +++ b/client/src/components/auth/AuthModal.tsx @@ -190,32 +190,41 @@ export default function AuthModal() { ) : ( <>
- { setActiveTab("guest"); }} className={ - "tab tab-bordered flex-grow" + (activeTab === "guest" ? " tab-active" : "") + "tab tab-bordered flex-grow rounded-tl-lg" + + (activeTab === "guest" + ? " tab-active bg-base-200" + : " text-base-content hover:bg-base-200") } > Guest - - + setActiveTab("login")} className={ - "tab tab-bordered flex-grow" + (activeTab === "login" ? " tab-active" : "") + "tab tab-bordered flex-grow" + + (activeTab === "login" + ? " tab-active bg-base-200" + : " text-base-content hover:bg-base-200") } > Login - - + setActiveTab("register")} className={ - "tab tab-bordered flex-grow" + (activeTab === "register" ? " tab-active" : "") + "tab tab-bordered flex-grow rounded-tr-lg" + + (activeTab === "register" + ? " tab-active bg-base-200" + : " text-base-content hover:bg-base-200") } > Register - +