summaryrefslogtreecommitdiff
path: root/ext/mixed/css
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-02-08 17:52:35 -0500
committerGitHub <noreply@github.com>2021-02-08 17:52:35 -0500
commit008809e0e73665249b7b3dd7c14a1761aa06bd39 (patch)
tree72005a96e1f5597dc09d39dd3ae891374955a0e6 /ext/mixed/css
parentc6315cdb8c4ebc5a2cde57481af612a6e67a0d28 (diff)
Enforce language (#1344)
* Assign text content and a language * Remove _appendMultilineText * Assign lang for createTextNode content * Add language attributes to HTML pages
Diffstat (limited to 'ext/mixed/css')
-rw-r--r--ext/mixed/css/display.css9
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/mixed/css/display.css b/ext/mixed/css/display.css
index e13d8f91..6e250aa5 100644
--- a/ext/mixed/css/display.css
+++ b/ext/mixed/css/display.css
@@ -1000,6 +1000,9 @@ button.action-button[data-icon=source-term]::before {
.term-glossary-item::marker {
color: var(--text-color-light3);
}
+.term-glossary {
+ white-space: pre-line;
+}
.term-definition-disambiguation-list {
color: var(--text-color-light3);
}
@@ -1337,6 +1340,9 @@ button.action-button[data-icon=source-term]::before {
.term-glossary-image-link-text::after {
content: ']';
}
+.term-glossary-image-description {
+ white-space: pre-line;
+}
/* Kanji */
@@ -1398,6 +1404,9 @@ button.action-button[data-icon=source-term]::before {
.kanji-glossary-item::marker {
color: var(--text-color-light3);
}
+.kanji-glossary {
+ white-space: pre-line;
+}
/* Progress bar */