From c457db91c4b82a5b9d480137aebc21aba169cc2a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timoth=C3=A9e?= <tpoussard@neogeo.fr>
Date: Fri, 8 Jul 2022 19:07:04 +0200
Subject: [PATCH] disable redirect to feature details when editing in feature
 details, fix anchor at scroll under header & remove dead code--ammend

---
 src/assets/styles/base.css | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/assets/styles/base.css b/src/assets/styles/base.css
index 3cfa87e2..13b03980 100644
--- a/src/assets/styles/base.css
+++ b/src/assets/styles/base.css
@@ -25,8 +25,17 @@ body {
 #app-content {
   overflow: auto;
   flex: 1 0 auto; /* used to fix height on sticky header and footer */
+  height: 61px; /* value by default of the header, defined here to be sync with anchor below */
+  position: relative; /* for anchor below */
 }
 
+#scroll-top-anchor {
+  position: absolute;
+  top: -61px;
+  visibility: hidden;
+}
+
+
 .page-content {
   max-width: 1200px;
   padding: 0 2em;
-- 
GitLab