Skip to content

Commit

Permalink
Fixed paddings and border radius
Browse files Browse the repository at this point in the history
  • Loading branch information
Freshenext committed Jun 19, 2024
1 parent 38dbc6c commit 6e3328c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Button/Button.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ReactNode, FC } from 'react'
import { ButtonTypes, ButtonVariants } from '@/components/Button/types'

export const BUTTON_DEFAULT_CLASSES = 'px-5 py-3 border-[1px] border-white flex gap-x-1 justify-center items-center relative'
export const BUTTON_DEFAULT_CLASSES = 'px-[24px] py-[20px] border-[1px] border-white flex gap-x-1 justify-center items-center relative'

interface Props {
text: string
Expand All @@ -25,7 +25,7 @@ export const Button: FC<Props> = ({
BUTTON_DEFAULT_CLASSES,
fullWidth && 'w-full',
type === ButtonTypes.Circle && 'rounded-full',
type === ButtonTypes.Square && 'rounded',
type === ButtonTypes.Square && 'rounded-[1px]',
variant === ButtonVariants.White && 'bg-white',
startIcon && 'pl-9',
].join(' ')
Expand Down

0 comments on commit 6e3328c

Please sign in to comment.