scroll content instead of body

This commit is contained in:
schrumpel 2022-12-18 20:56:22 +01:00
parent ddaaaee502
commit cb0a5f7ee8
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,8 +1247,6 @@ div.posts>a:hover::after {
}
.navbar {
position: sticky;
top: 0;
padding: 0;
width: 100%;
z-index: 3;
@ -2799,3 +2797,8 @@ ul.navbar-nav-guests li.nav-item {
background: #00000036;
}
}
#main {
overflow: auto;
height: calc(100%);
}

View File

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