Fix login modal not aligned
This commit is contained in:
@ -104,8 +104,8 @@ const ModalHeader = ({ children }: ModalHeaderProps) => (
|
|||||||
|
|
||||||
type ModalContentProps = React.PropsWithChildren & React.ComponentProps<'div'>;
|
type ModalContentProps = React.PropsWithChildren & React.ComponentProps<'div'>;
|
||||||
|
|
||||||
const ModalContent = ({ children }: ModalContentProps) => (
|
const ModalContent = ({ children, className }: ModalContentProps) => (
|
||||||
<StyledContent>{children}</StyledContent>
|
<StyledContent className={className}>{children}</StyledContent>
|
||||||
);
|
);
|
||||||
|
|
||||||
type ModalFooterProps = React.PropsWithChildren & React.ComponentProps<'div'>;
|
type ModalFooterProps = React.PropsWithChildren & React.ComponentProps<'div'>;
|
||||||
|
|||||||
Reference in New Issue
Block a user