Skip to content

Commit

Permalink
fix: height issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nada-deriv committed Aug 2, 2024
1 parent 95c7f70 commit 1b362d7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/PaymentMethodCard/PaymentMethodCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,13 @@ const PaymentMethodCard = ({
})}
>
{!toAdd ? (
<div className='flex flex-col items-center justify-center w-full h-full'>
<div
className='flex flex-col items-center justify-center w-full h-full'
onClick={() => onClickAdd?.(paymentMethod)}
>
<Button
className='flex items-center justify-center w-[3.2rem] h-[3.2rem] mb-[0.8rem] rounded-full bg-[#ff444f]'
data-testid='dt_payment_method_add_button'
onClick={() => onClickAdd?.(paymentMethod)}
>
<LabelPairedPlusLgBoldIcon fill='white' />
</Button>
Expand Down

0 comments on commit 1b362d7

Please sign in to comment.