aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-03-27 20:15:23 -0700
committerAlex Yatskov <alex@foosoft.net>2016-03-27 20:15:23 -0700
commitc8d0a8624f4925f8227be67da5f40d888e9e5756 (patch)
tree38f341d5db1f7b380c62de01098cde279d82aa30 /util
parenta9fcc0cde6a09872e038e4aa4600d5cd80a71374 (diff)
Improved styling
Diffstat (limited to 'util')
-rw-r--r--util/tmpl/defs.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/util/tmpl/defs.html b/util/tmpl/defs.html
index fe40dfe3..553a8c62 100644
--- a/util/tmpl/defs.html
+++ b/util/tmpl/defs.html
@@ -1,7 +1,9 @@
{{#each defs}}
<div class="yomichan-def">
- <span class="yomichan-def-expression">{{expression}}</span>
- <span class="yomichan-def-reading">{{reading}}</span>
- <span class="yomichan-def-glossary">{{glossary}}</span>
+ <div class="yomichan-def-expression">{{expression}}</div>
+ {{#if reading}}
+ <div class="yomichan-def-reading">{{reading}}</div>
+ {{/if}}
+ <div class="yomichan-def-glossary">{{glossary}}</div>
</div>
{{/each}}