feat: implement scroll lock on NSFW warning modal
This commit is contained in:
parent
0c635b5630
commit
d0b191706b
2 changed files with 17 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue