revert scroll content instead of body
This commit is contained in:
Flummi 2022-12-19 01:08:50 +00:00
parent c50048d8e6
commit ca516ded7c
2 changed files with 7 additions and 7 deletions

View File

@ -1136,9 +1136,9 @@ body {
line-height: 2;
scrollbar-color: var(--scrollbar-color) transparent;
scrollbar-width: thin;
overscroll-behavior-y: contain;
overflow: unset;
font-size: 14px;
overflow: hidden;
height: 100%;
}
.wrapper {
@ -1247,6 +1247,8 @@ div.posts>a:hover::after {
}
.navbar {
position: sticky;
top: 0;
padding: 0;
width: 100%;
z-index: 3;
@ -2797,8 +2799,3 @@ ul.navbar-nav-guests li.nav-item {
background: #00000036;
}
}
#main {
overflow: auto;
height: calc(100%);
}

View File

@ -97,6 +97,9 @@
@endif
</span>
</div>
<div class="random">
<a href="/random"></a>
</div>
</div>
@include(snippets/footer)
</div>