Skip to content

Commit

Permalink
Fix login modal not aligned
Browse files Browse the repository at this point in the history
charlesBochet committed Oct 10, 2023
1 parent bf397bc commit 04091a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions front/src/modules/ui/modal/components/Modal.tsx
Original file line number Diff line number Diff line change
@@ -104,8 +104,8 @@ const ModalHeader = ({ children }: ModalHeaderProps) => (

type ModalContentProps = React.PropsWithChildren & React.ComponentProps<'div'>;

const ModalContent = ({ children }: ModalContentProps) => (
<StyledContent>{children}</StyledContent>
const ModalContent = ({ children, className }: ModalContentProps) => (
<StyledContent className={className}>{children}</StyledContent>
);

type ModalFooterProps = React.PropsWithChildren & React.ComponentProps<'div'>;

0 comments on commit 04091a4

Please sign in to comment.