Skip to content

Commit dcaf929

Browse files
committed
fix: lock page scroll and use overlay scrollbar when opening modal.
1 parent fb08543 commit dcaf929

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

style.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ body.body-class {
1111
margin: 0;
1212
padding: 0;
1313
background-color: #404040;
14+
overflow: hidden;
15+
}
16+
17+
#main-html {
18+
height: 100vh;
19+
height: 100dvh;
20+
overflow-y: auto !important;
1421
}
1522

1623
.main-container {

0 commit comments

Comments
 (0)