Skip to content

Commit

Permalink
fixed modal height desktop overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith-Web3 committed May 2, 2023
1 parent 32c63e1 commit 5e49e16
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/sass/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ body {
align-content: center;
z-index: 2;
padding: $spacer;
height: 100%;
min-height: 100vh;
position: relative;
height: max-content;
position: sticky;
top: 0;

&:empty {
pointer-events: none;
Expand All @@ -41,7 +42,7 @@ body {
z-index: -1;
}
@media (max-width: 700px) {
position: absolute;
position: sticky;
inset: 0 0 auto 0;
height: max-content;
}
Expand Down

0 comments on commit 5e49e16

Please sign in to comment.