Skip to content

Commit d71422e

Browse files
author
Daniel Montoya
committed
fix(modal): correction resolution of modal
1 parent 79c0427 commit d71422e

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/organisms/ModalAlert/ModalAlert.tsx

+7-5
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,24 @@ export function ModalAlert({
3535
>
3636
<ModalOverlay />
3737
<ModalContent>
38-
<Box alignItems="center" justifyContent="center" textAlign="center" py={8}>
38+
<Box alignItems="center" justifyContent="center" textAlign="center" py="2rem">
3939
<Box display="flex" justifyContent="center">
4040
{alertStates[typeAlert].icon}
4141
</Box>
42-
<ModalHeader>{title}</ModalHeader>
43-
<ModalBody>{description}</ModalBody>
42+
<ModalHeader py="1rem">{title}</ModalHeader>
43+
<ModalBody py="0.5rem" px="2rem">
44+
{description}
45+
</ModalBody>
4446
</Box>
45-
<Divider colorScheme="E6E6E6" size="2" opacity="1" />
47+
<Divider colorScheme="#E6E6E6" size="2" opacity="1" />
4648
<ModalFooter justifyContent="center" padding="0">
4749
{optionsButton.map((option, index) => {
4850
return (
4951
<Box
5052
key={index}
5153
width="99%"
5254
textAlign="center"
53-
padding="4"
55+
padding="1rem"
5456
borderLeftWidth={showBorder && option.id === optionsButton[1].id ? '1px' : '0'}
5557
borderLeftColor="#E6E6E6"
5658
>

0 commit comments

Comments
 (0)