From cb0a5f7ee8502d4502c20a14359f654c2ea4bce3 Mon Sep 17 00:00:00 2001 From: schrumpel <Ă‚git@f0ck.it> Date: Sun, 18 Dec 2022 20:56:22 +0100 Subject: [PATCH] scroll content instead of body --- public/s/css/f0ck.css | 11 +++++++---- views/item.html | 3 --- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/public/s/css/f0ck.css b/public/s/css/f0ck.css index e65faed..4dda1fb 100644 --- a/public/s/css/f0ck.css +++ b/public/s/css/f0ck.css @@ -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%); } \ No newline at end of file diff --git a/views/item.html b/views/item.html index 78869f3..13b4c8b 100644 --- a/views/item.html +++ b/views/item.html @@ -97,9 +97,6 @@ @endif -
- -
@include(snippets/footer) \ No newline at end of file