@byronbyron
Posted
@DanK1368 Hia mate.
Try position: fixed;
instead of position: absolute;
, to fix the scrolling issue.
@media screen and (max-width: 670px) {
.ggprRt {
/* position: absolute; */
position: fixed;
top: 0px;
left: 0px;
height: 100vh;
background-color: rgba(0, 0, 0, 0.5);
transform: translateX(110%);
opacity: 0;
}
}
Marked as helpful
@DanK1368
Posted
@byronbyron Oh wow..you're my hero haha. I somehow couldn't figure out the issue. Can you explain to me why it behaves that way though? Shouldn't overflow: hidden, also hide an absolutely positioned element