aboutsummaryrefslogtreecommitdiff
path: root/tmpl/terms.html
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2017-10-24 23:30:55 +0300
committersiikamiika <siikamiika@users.noreply.github.com>2017-10-24 23:30:55 +0300
commit9697c9a65b5b698d5c6ca11befd843c89aca3c9e (patch)
tree79b91399133e249ed41145734c92e2a4e777e16b /tmpl/terms.html
parent6f43fffb4eca76246a3f458b973a7aada84c1488 (diff)
terms.html: rename classes, remove inline css
Diffstat (limited to 'tmpl/terms.html')
-rw-r--r--tmpl/terms.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/tmpl/terms.html b/tmpl/terms.html
index b5b1325d..09441e72 100644
--- a/tmpl/terms.html
+++ b/tmpl/terms.html
@@ -1,13 +1,13 @@
{{#*inline "definition"}}
{{#if definitionTags}}
-<div {{#if compactGlossaries}}style="display: inline-block;"{{/if}}>
+<div {{#if compactGlossaries}}class="compact-info"{{/if}}>
{{#each definitionTags}}
<span class="label label-default tag-{{category}}" title="{{notes}}">{{name}}</span>
{{/each}}
</div>
{{/if}}
{{#if only}}
-<div {{#if compactGlossaries}}style="display: inline-block;"{{/if}}>
+<div {{#if compactGlossaries}}class="compact-info"{{/if}}>
(
{{~#each only~}}
{{{.}}}{{#unless @last}}, {{/unless}}
@@ -16,13 +16,13 @@
</div>
{{/if}}
{{#if glossary.[1]}}
-<ul {{#if compactGlossaries}}class="compact"{{/if}}>
+<ul {{#if compactGlossaries}}class="compact-glossary"{{/if}}>
{{#each glossary}}
<li><span class="glossary-item">{{#multiLine}}{{.}}{{/multiLine}}</span></li>
{{/each}}
</ul>
{{else}}
-<div class="glossary-item {{#if compactGlossaries}}compact{{/if}}">{{#multiLine}}{{glossary.[0]}}{{/multiLine}}</div>
+<div class="glossary-item {{#if compactGlossaries}}compact-glossary{{/if}}">{{#multiLine}}{{glossary.[0]}}{{/multiLine}}</div>
{{/if}}
{{/inline}}