Skip to content

Commit

Permalink
fix(dialog): fixed modalbody padding
Browse files Browse the repository at this point in the history
  • Loading branch information
fluid-design-io committed Feb 7, 2023
1 parent 2ec8563 commit 240cbf8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/lib/components/Modal/useModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -336,10 +336,7 @@ export const ModalContainer = forwardRef(

export const ModalBody = ({ className = '', children, ...props }) => (
<div
className={clsxm(
'p-4 pt-2 sm:px-6 text-gray-600 dark:text-gray-300',
className
)}
className={clsxm('p-4 sm:px-6 text-gray-600 dark:text-gray-300', className)}
{...props}
>
{children}
Expand Down

0 comments on commit 240cbf8

Please sign in to comment.