Skip to content

Commit

Permalink
fix(modal): se intenta justar nuevamente el centrado del modal (#625)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Montoya <[email protected]>
  • Loading branch information
Eriold and Daniel Montoya authored Feb 19, 2024
1 parent 5c61dbb commit 4bf230a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/organisms/ModalAlert/ModalAlert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ export function ModalAlert({
}: ModalAlertProps): JSX.Element {
const [isDesktop] = useMediaQuery('(min-width: 650px)')

const modalStyles = {
content: {
top: '3.75rem',
},
}

const showBorder = optionsButton.length > 1
return (
<Modal
Expand All @@ -39,8 +45,9 @@ export function ModalAlert({
left="0"
right="0"
bottom="0"
zIndex="998"
/>
<ModalContent>
<ModalContent zIndex="999" sx={modalStyles.content}>
<Box
alignItems="center"
justifyContent="center"
Expand Down

0 comments on commit 4bf230a

Please sign in to comment.