From 7f0e6cb0409ac79d6c4ca88948a5f8f010a20fe9 Mon Sep 17 00:00:00 2001 From: Sven Date: Thu, 5 Oct 2017 10:13:29 +0200 Subject: [PATCH] remove sticky Navbar on feature page and add scroll to --- static/css/style.css | 9 ++------- templates/static/features.html | 18 ++++++++++-------- 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 4ac2968c..3f46af34 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -4692,11 +4692,9 @@ h5.fireinfo { #sidebar ul { list-style: none; } #sidebar ul.features_nav { - padding: 0 0 24px 0; - max-height: calc(100vh - 96px); - overflow-x: auto; } + padding: 0 0 24px 0; } #sidebar ul ul { - margin: 24px 0 0 0; + margin: 0; padding-left: 0; } #sidebar ul ul li:last-child { margin-bottom: 0; } @@ -4713,9 +4711,6 @@ h5.fireinfo { color: #b71c1c; border-left: 2px solid #b71c1c; padding: 0 8px 0 6px; } - #sidebar ul.features_nav.fixed { - position: fixed; - top: 120px; } .btn-red900 { color: #fff !important; diff --git a/templates/static/features.html b/templates/static/features.html index 5469b6ac..091c41fd 100644 --- a/templates/static/features.html +++ b/templates/static/features.html @@ -1517,15 +1517,17 @@ {% end block %} \ No newline at end of file -- 2.39.2