From 02888e3b9648c25341bc231f5bb52f8e9fb38385 Mon Sep 17 00:00:00 2001 From: Henrik Askjer <henrik.askjer@uib.no> Date: Wed, 15 Dec 2021 20:42:33 +0100 Subject: [PATCH] move return button back to the top --- src/components/DictionaryView.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/DictionaryView.vue b/src/components/DictionaryView.vue index 32e6e888..fa180d00 100644 --- a/src/components/DictionaryView.vue +++ b/src/components/DictionaryView.vue @@ -19,9 +19,7 @@ <v-progress-circular indeterminate color="secondary" size="120"></v-progress-circular> </div> <div id="single_article_container" v-if="article"> - - <Article :key="article_key" :article="article" @article-click="article_link_click" /> - <div class="return_to_results" v-if="total_results"> + <div class="return_to_results" v-if="total_results"> <router-link v-if="article.source" :to="article.source" @click.native="return_to_results()"> <v-icon left class="nav_arrow">chevron_left</v-icon>{{$t("back_to_results")}} </router-link> @@ -29,6 +27,9 @@ <v-icon left class="nav_arrow">chevron_left</v-icon>Søk etter andre ord </a> </div> + + <Article :key="article_key" :article="article" @article-click="article_link_click" /> + </div> <div class="welcome" v-if="! (article || error || total_results() || waiting)"> <div class="monthly" :class="$vuetify.breakpoint.name"> @@ -621,7 +622,7 @@ li.suggestion { } .return_to_results { - padding-bottom: 10px; + padding-top: 10px; display: table-cell; } -- GitLab