From faaa65b94614ea28dc2c39156a74b5ddbe4ceabe Mon Sep 17 00:00:00 2001 From: Beatrice Guerra Date: Thu, 27 Oct 2022 16:13:19 +0200 Subject: [PATCH] fix(ModalContent): remove default for min-height Remove default min height for modal content introduced with CDS-67 refs: CDS-94 --- src/components/feedback/modal-components/ModalComponents.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/feedback/modal-components/ModalComponents.tsx b/src/components/feedback/modal-components/ModalComponents.tsx index 49b40487..bca691ca 100644 --- a/src/components/feedback/modal-components/ModalComponents.tsx +++ b/src/components/feedback/modal-components/ModalComponents.tsx @@ -90,8 +90,7 @@ const ModalWrapper = styled.div` const ModalContent = styled(Container).attrs<{ $size: keyof typeof modalMinWidth & keyof typeof modalWidth; -}>(({ minHeight = '250px', $size }) => ({ - minHeight, +}>(({ $size }) => ({ maxWidth: '100%', minWidth: modalMinWidth[$size], width: modalWidth[$size],