Skip to content

Commit 4bf230a

Browse files
ErioldDaniel Montoya
andauthored
fix(modal): se intenta justar nuevamente el centrado del modal (#625)
Co-authored-by: Daniel Montoya <daniel.montoya@eclass.cl>
1 parent 5c61dbb commit 4bf230a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/organisms/ModalAlert/ModalAlert.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ export function ModalAlert({
2222
}: ModalAlertProps): JSX.Element {
2323
const [isDesktop] = useMediaQuery('(min-width: 650px)')
2424

25+
const modalStyles = {
26+
content: {
27+
top: '3.75rem',
28+
},
29+
}
30+
2531
const showBorder = optionsButton.length > 1
2632
return (
2733
<Modal
@@ -39,8 +45,9 @@ export function ModalAlert({
3945
left="0"
4046
right="0"
4147
bottom="0"
48+
zIndex="998"
4249
/>
43-
<ModalContent>
50+
<ModalContent zIndex="999" sx={modalStyles.content}>
4451
<Box
4552
alignItems="center"
4653
justifyContent="center"

0 commit comments

Comments
 (0)