Skip to content

Commit 27049ae

Browse files
ErioldDaniel Montoya
andauthored
fix(modal): detail modal with margin in topline (#621)
Co-authored-by: Daniel Montoya <daniel.montoya@eclass.cl>
1 parent 58c64b5 commit 27049ae

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/organisms/ModalAlert/ModalAlert.tsx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import {
88
ModalBody,
99
Box,
1010
useMediaQuery,
11-
Divider,
1211
} from '@chakra-ui/react'
1312
import { alertStates } from '../Alerts/utils/alertStates'
1413
import { ModalAlertProps } from './types'
@@ -43,7 +42,14 @@ export function ModalAlert({
4342
bottom="0"
4443
/>
4544
<ModalContent>
46-
<Box alignItems="center" justifyContent="center" textAlign="center" py="2rem">
45+
<Box
46+
alignItems="center"
47+
justifyContent="center"
48+
textAlign="center"
49+
py="2rem"
50+
borderBottom="1px solid #E6E6E6"
51+
marginY="3.75rem"
52+
>
4753
<Box display="flex" justifyContent="center">
4854
{alertStates[typeAlert].icon}
4955
</Box>
@@ -52,7 +58,6 @@ export function ModalAlert({
5258
{description}
5359
</ModalBody>
5460
</Box>
55-
<Divider colorScheme="#E6E6E6" size="2" opacity="1" margin="0" padding="0" />
5661
<ModalFooter justifyContent="center" padding="0">
5762
{optionsButton.map((option, index) => {
5863
return (

0 commit comments

Comments
 (0)