Skip to content

Commit a6a7e2b

Browse files
committed
fix(auth): adjust layout class for SocialAuthButtons component
- Modified the container class for the SocialAuthButtons component to improve layout consistency. - Removed unnecessary 'justify-center' class when layout is set to 'row' for better alignment. Signed-off-by: Innei <tukon479@gmail.com>
1 parent 05a83da commit a6a7e2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

be/apps/dashboard/src/modules/auth/components/SocialAuthButtons.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export const SocialAuthButtons = memo(function SocialAuthButtons({
6363
return null
6464
}
6565

66-
const containerClass = layout === 'row' ? 'flex flex-wrap justify-center gap-3' : 'grid gap-2 sm:grid-cols-2'
66+
const containerClass = layout === 'row' ? 'flex flex-wrap gap-3' : 'grid gap-2 sm:grid-cols-2'
6767

6868
const providerIconColors: Record<string, string> = {
6969
github: 'text-[#181717] dark:text-white',

0 commit comments

Comments
 (0)