scroll content instead of body #57

Merged
schrumpel merged 1 commits from dev into master 2022-12-18 19:57:17 +00:00
2 changed files with 7 additions and 7 deletions
Showing only changes of commit cb0a5f7ee8 - Show all commits

View File

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

View File

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