From a24bc67c38aa79a0058b2a018b7d3ae449863e98 Mon Sep 17 00:00:00 2001
From: Henrik Askjer <henrik.askjer@uib.no>
Date: Wed, 12 Jan 2022 14:33:13 +0100
Subject: [PATCH] restyle "mente du"

---
 src/components/DictionaryView.vue | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/components/DictionaryView.vue b/src/components/DictionaryView.vue
index de4dd724..68749529 100644
--- a/src/components/DictionaryView.vue
+++ b/src/components/DictionaryView.vue
@@ -80,9 +80,12 @@
        <article v-if="similar && similar.length" :class="'v-sheet v-card rounded-xl did_you_mean ' + $vuetify.breakpoint.name">
        <span class="dict-label">Mente du:</span>
        <v-list>
-         <v-list-item v-for="(item, index) in similar" :key="index">
-           <router-link :to="generate_path(item[0])" @click.native="suggestion_link(item[0])">{{item[0]}}</router-link><span v-if="lang=='bm,nn'" >&nbsp;<em>({{["bm","nn","bm, nn"][item[1]-1]}})</em></span>
+         <template  v-for="(item, index) in similar">
+           <v-list-item :key="index">
+           <router-link :to="generate_path(item[0])" @click.native="suggestion_link(item[0])">{{item[0]}}</router-link>
+             <span class="dict_label" v-if="lang=='bm,nn'">{{["bokmål","nynorsk","bokmål, nynorsk"][item[1]-1]}}</span>
          </v-list-item>
+         </template>
        </v-list>
 
        </article>
@@ -734,5 +737,9 @@ li.suggestion {
   max-width: 40%;
 }
 
+.dict_label {
+  font-style: italic;
+}
+
 
 </style>
-- 
GitLab