summaryrefslogtreecommitdiff
path: root/ext/mixed
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2017-10-15 09:45:00 +0300
committersiikamiika <siikamiika@users.noreply.github.com>2017-10-15 09:45:00 +0300
commit0404b42f6188c22e09afd073a755af749a9d0810 (patch)
treee03f076ce6d886b91505574ca826a08119f0f308 /ext/mixed
parent03f7ca23e118c5ca804eef35cea05070e69779c7 (diff)
compact glossaries, line break after tags: on/off
Diffstat (limited to 'ext/mixed')
-rw-r--r--ext/mixed/css/display.css18
-rw-r--r--ext/mixed/js/display.js2
2 files changed, 20 insertions, 0 deletions
diff --git a/ext/mixed/css/display.css b/ext/mixed/css/display.css
index 670930ae..b31774f9 100644
--- a/ext/mixed/css/display.css
+++ b/ext/mixed/css/display.css
@@ -181,6 +181,20 @@ hr {
padding-left: 1.4em;
}
+.glossary ul.compact {
+ display: inline;
+ list-style: none;
+ padding-left: 0px;
+}
+
+.glossary .compact li {
+ display: inline;
+}
+
+.glossary .compact li:not(:first-child):before {
+ content: " | ";
+}
+
.glossary li {
color: #777;
}
@@ -189,6 +203,10 @@ hr {
color: #000;
}
+div.glossary-item.compact {
+ display: inline;
+}
+
.glyph {
font-family: kanji-stroke-orders;
font-size: 120px;
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index e3b5ee50..daa90b4e 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -239,6 +239,8 @@ class Display {
grouped: options.general.resultOutputMode === 'group',
merged: options.general.resultOutputMode === 'merge',
playback: options.general.audioSource !== 'disabled',
+ tagLineBreak: options.general.tagLineBreak,
+ compactGlossaries: options.general.compactGlossaries,
debug: options.general.debugInfo
};