Merge pull request 'scroll content instead of body' (#57) from dev into master

Reviewed-on: #57
This commit is contained in:
Kibi Kelburton 2022-12-18 19:57:17 +00:00
commit d37a55aa1e
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;
@ -2798,4 +2796,9 @@ ul.navbar-nav-guests li.nav-item {
.random:active {
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>