Skip to content
Snippets Groups Projects
Commit 33ee492d authored by Ole Voldsæter's avatar Ole Voldsæter
Browse files

re meta#259

parent 276e4fc8
No related branches found
No related tags found
No related merge requests found
...@@ -57,6 +57,7 @@ export default { ...@@ -57,6 +57,7 @@ export default {
<!-- Add "scoped" attribute to limit CSS to this component only --> <!-- Add "scoped" attribute to limit CSS to this component only -->
<style> <style>
article { article {
position: relative;
padding: 10px; padding: 10px;
margin: 10px; margin: 10px;
border-radius: 10px; border-radius: 10px;
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
</div> </div>
</div> </div>
</details> </details>
<span class="dict-label">{{dict_label}}</span>
</div> </div>
</template> </template>
...@@ -42,6 +43,12 @@ export default { ...@@ -42,6 +43,12 @@ export default {
article_id: Number article_id: Number
}, },
computed: { computed: {
dict_label: function() {
return {
'bob': 'BOKMÅL',
'nob': 'NYNORSK'
}[this.dictionary]
},
group_list: function() { group_list: function() {
return helpers.group_list(this.lemmas) return helpers.group_list(this.lemmas)
}, },
...@@ -89,18 +96,27 @@ export default { ...@@ -89,18 +96,27 @@ export default {
</script> </script>
<style > <style scoped>
summary { summary {
width: 30em; width: 30em;
} }
h1 {
padding-top: 7px;
}
.word-classification { .word-classification {
text-decoration: underline dashed; text-decoration: underline dashed;
} }
h1.article_header { .dict-label {
display: inline; color: #560027;
font-weigth: bold;
padding-left: 5px;
position: absolute;
top: 0px;
font-variant-caps: all-small-caps;
} }
details > summary { details > summary {
......
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