Using tailwind here, but it should be readable, also removed all unnecessary classes.
<div class="h-full min-h-full w-full left-0 top-0 fixed flex tw-box-border justify-center items-center overflow-y-auto min-h-250" style="z-index: 99999">
<div class="w-800 min-w-250 max-w-full flex-col items-center justify-center">
CONTENT HERE
</div>
</div>
I got a fixed wrapper and a modal within. On small screens, even with overflow-y: auto
, the content overlaps the wrapper on the vertical axis and is hidden. I guess it's a problem with the flex property. Read about it here on SO but couldn't fix it. Any suggestions?