From ca516ded7c09889c7a828ab24eab1c56b8681597 Mon Sep 17 00:00:00 2001 From: Flummi Date: Mon, 19 Dec 2022 01:08:50 +0000 Subject: [PATCH] revert cb0a5f7ee8502d4502c20a14359f654c2ea4bce3 revert 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 4dda1fb..e65faed 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,6 +1247,8 @@ div.posts>a:hover::after { } .navbar { + position: sticky; + top: 0; padding: 0; width: 100%; z-index: 3; @@ -2796,9 +2798,4 @@ 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 13b4c8b..78869f3 100644 --- a/views/item.html +++ b/views/item.html @@ -97,6 +97,9 @@ @endif +
+ +
@include(snippets/footer) \ No newline at end of file