diff --git a/ext/bg/js/templates.js b/ext/bg/js/templates.js
index f61cc52b..7896a35c 100644
--- a/ext/bg/js/templates.js
+++ b/ext/bg/js/templates.js
@@ -17,9 +17,8 @@ templates['header.html'] = template({"compiler":[7,">= 4.0.0"],"main":function(c
templates['kanji.html'] = template({"1":function(container,depth0,helpers,partials,data) {
var stack1;
- return "
\n - Kunyomi
\n"
- + ((stack1 = helpers.each.call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.kunyomi : depth0),{"name":"each","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
- + "
\n";
+ return " Kunyomi\n"
+ + ((stack1 = helpers.each.call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.kunyomi : depth0),{"name":"each","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"2":function(container,depth0,helpers,partials,data) {
return " "
+ container.escapeExpression(container.lambda(depth0, depth0))
@@ -27,9 +26,8 @@ templates['kanji.html'] = template({"1":function(container,depth0,helpers,partia
},"4":function(container,depth0,helpers,partials,data) {
var stack1;
- return " \n - Onyomi
\n"
- + ((stack1 = helpers.each.call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.onyomi : depth0),{"name":"each","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
- + "
\n";
+ return " Onyomi\n"
+ + ((stack1 = helpers.each.call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.onyomi : depth0),{"name":"each","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"6":function(container,depth0,helpers,partials,data) {
return " "
+ container.escapeExpression(container.lambda(depth0, depth0))
@@ -39,11 +37,11 @@ templates['kanji.html'] = template({"1":function(container,depth0,helpers,partia
return "\n
"
+ container.escapeExpression(((helper = (helper = helpers.character || (depth0 != null ? depth0.character : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(alias1,{"name":"character","hash":{},"data":data}) : helper)))
- + "
\n\n
\n"
+ + "
\n\n
\n
\n"
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.kunyomi : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n"
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.onyomi : depth0),{"name":"if","hash":{},"fn":container.program(4, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
- + "
\n\n
\n\n
\n
\n"
+ ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.glossary : depth0),{"name":"each","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n
\n";
},"useData":true});
diff --git a/ext/fg/css/frame.css b/ext/fg/css/frame.css
index d9ffde84..3f8e3116 100644
--- a/ext/fg/css/frame.css
+++ b/ext/fg/css/frame.css
@@ -44,7 +44,16 @@ body {
}
.kanji {
- font-size: 82px;
+ background-color: #eee;
+ display: inline-block;
+ font-size: 82px;
+ line-height: 82px;
+ vertical-align: top;
+}
+
+.readings {
+ display: inline-block;
+ vertical-align: top;
}
.tag {
diff --git a/util/tmpl/kanji.html b/util/tmpl/kanji.html
index 0e85e966..0e5c8573 100644
--- a/util/tmpl/kanji.html
+++ b/util/tmpl/kanji.html
@@ -2,23 +2,21 @@
{{character}}
- {{#if kunyomi}}
+ {{#if kunyomi}}
- Kunyomi
{{#each kunyomi}}
- {{.}}
{{/each}}
-
- {{/if}}
+ {{/if}}
- {{#if onyomi}}
-
+ {{#if onyomi}}
- Onyomi
{{#each onyomi}}
- {{.}}
{{/each}}
+ {{/if}}
- {{/if}}