Skip to content
Snippets Groups Projects
Commit 18acc155 authored by Henrik Askjer's avatar Henrik Askjer
Browse files

show full language instead of codes

parent 995809e9
No related branches found
No related tags found
No related merge requests found
...@@ -269,4 +269,8 @@ th[class="infl-group"] { ...@@ -269,4 +269,8 @@ th[class="infl-group"] {
border-radius: 28px !important; border-radius: 28px !important;
} }
.theme--light.v-label, .theme--light.v-subheader, .transparent-text{
color: rgba(0, 0, 0, 0.7)
}
</style> </style>
...@@ -75,8 +75,8 @@ ...@@ -75,8 +75,8 @@
<span class="searchLemma"> <span class="searchLemma">
{{data.item.match}} {{data.item.match}}
</span> </span>
<span v-if="(get_lang()=='bm,nn')"> <span class="dict-parentheses" v-if="(get_lang()=='bm,nn')">
({{["bm","nn","bm,nn"][data.item.lang-1]}}) ({{["bokmål","nynorsk","bokmål, nynorsk"][data.item.lang-1]}})
</span> </span>
</span> </span>
......
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
<template v-for="(item, index) in similar"> <template v-for="(item, index) in similar">
<v-list-item :key="index"> <v-list-item :key="index">
<router-link :to="generate_path(item[0])" @click.native="suggestion_link(item[0])">{{item[0]}}</router-link> <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> <span class="dict-parentheses" v-if="lang=='bm,nn'">&nbsp;({{["bokmål","nynorsk","bokmål, nynorsk"][item[1]-1]}})</span>
</v-list-item> </v-list-item>
</template> </template>
</v-list> </v-list>
...@@ -737,8 +737,10 @@ li.suggestion { ...@@ -737,8 +737,10 @@ li.suggestion {
max-width: 40%; max-width: 40%;
} }
.dict_label { .dict-parentheses {
font-style: italic; font-style: italic;
color: rgba(0,0,0,0.6);
font-size: 85%;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment