From 008809e0e73665249b7b3dd7c14a1761aa06bd39 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Mon, 8 Feb 2021 17:52:35 -0500 Subject: Enforce language (#1344) * Assign text content and a language * Remove _appendMultilineText * Assign lang for createTextNode content * Add language attributes to HTML pages --- ext/mixed/css/display.css | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ext/mixed/css/display.css') 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 */ -- cgit v1.2.3