Skip to content

Commit

Permalink
added flex changes
Browse files Browse the repository at this point in the history
  • Loading branch information
BabuTechBsf committed Oct 15, 2024
1 parent 820750f commit 2c7ce5e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/radio-button/radio-button.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,11 @@ const RadioButtonComponent = (
className={ cn(
! inlineIcon && 'space-y-1.5 mt-[2px]',
reversePosition && ( useSwitch ? 'ml-10' : 'ml-4' ),
inlineIcon && 'flex gap-2'
inlineIcon && 'flex gap-2',
inlineIcon && ! label.description && 'items-center'
) }
>
{ icon && <span>{ icon } </span> }
{ icon && <>{ icon }</> }
<div className={ cn( 'space-y-1.5' ) }>
<p
className={ cn(
Expand Down

0 comments on commit 2c7ce5e

Please sign in to comment.