diff --git a/src/assets/styles/base.css b/src/assets/styles/base.css index 3cfa87e2c7436e3050524c91a631a4ea7e19aa12..13b03980fb8d9cca344aea013b329a2ef75719aa 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;