Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

fix: logout button padding (#1696)

Mehdi6232b8b71d5d
diff --git a/apps/aot/src/components/navigation/signout-link.tsx b/apps/aot/src/components/navigation/signout-link.tsx
index 3321e4eb..96817859 100644
--- a/apps/aot/src/components/navigation/signout-link.tsx
+++ b/apps/aot/src/components/navigation/signout-link.tsx
@@ -14,7 +14,7 @@ export function SignOutLink({ className }: { className?: string }) {
return (
<Button
className={clsx(
- 'h-8 justify-start bg-opacity-50 px-2 text-red-500 hover:bg-red-500/20 hover:text-red-500',
+ 'h-8 justify-start bg-opacity-50 text-red-500 hover:bg-red-500/20 hover:text-red-500 [&:not(:disabled)]:px-2',
className,
)}
onClick={handleSignOut}