feat: implement scroll lock on NSFW warning modal

This commit is contained in:
Sebin Nyshkim 2022-01-11 21:55:33 +01:00
parent 0c635b5630
commit d0b191706b
2 changed files with 17 additions and 5 deletions

View file

@ -14,6 +14,14 @@
text-size-adjust: 100%;
}
body {
background-color: lighten($bg-color-dark, 25%);
&.scroll-lock {
overflow: hidden;
}
}
h1,
h2,
h3,
@ -48,7 +56,6 @@ a {
}
.bubbles {
background-color: lighten($bg-color-dark, 25%);
position: fixed;
top: 0;
right: 0;