Skip to content
Snippets Groups Projects
Commit 1ca201bf authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Added basic back to top link

parent 0d322986
Branches
No related tags found
2 merge requests!1502Development,!1497Resolve "Page up link on the last result page"
......@@ -387,6 +387,10 @@ a {
margin-top: 0;
}
}
#backtotop {
text-align: center;
margin: 1em 0;
}
}
#additions-container {
grid-area: additions;
......@@ -626,9 +630,7 @@ a {
}
footer.resultPageFooter {
max-width: @results-width-max;
margin-top: 20px;
@media (max-width: (2 * @results-margin-left + @results-width-max - 1px)) {
margin: 20px 0 0 0;
}
......
......@@ -26,9 +26,11 @@
</div>
@include('parts.filter')
<div id="results-container">
<span name="top"></span>
@include('parts.errors')
@include('parts.warnings')
@yield('results')
<div id="backtotop"><a href="#top">Zum Anfang der Seite</a></div>
</div>
<div id="additions-container">
@include('layouts.keyboardNavBox')
......
......@@ -43,9 +43,11 @@
<link rel="stylesheet" href="/css/noheader.css">
<div id="resultpage-container-noheader">
<div id="results-container">
<span name="top"></span>
@include('parts.errors')
@include('parts.warnings')
@yield('results')
<div id="backtotop"><a href="#top">Zum Anfang der Seite</a></div>
</div>
</div>
@include('parts.footer', ['type' => 'resultpage', 'id' => 'resultPageFooter'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment