summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/css/display.css6
-rw-r--r--ext/data/schemas/options-schema.json2
-rw-r--r--ext/settings.html1
3 files changed, 7 insertions, 2 deletions
diff --git a/ext/css/display.css b/ext/css/display.css
index a148af13..90f6a1e6 100644
--- a/ext/css/display.css
+++ b/ext/css/display.css
@@ -947,7 +947,11 @@ button.action-button:active {
:root[data-term-display-mode=term-and-reading] .headword[data-reading-is-same=true] .headword-reading-outer {
display: none;
}
-:root[data-term-display-mode=term-and-reading] .headword-term>ruby>rt {
+:root[data-term-display-mode=term-and-reading] .headword-term>ruby>rt,
+:root[data-term-display-mode=term-only] .headword-term>ruby>rt {
+ display: none;
+}
+:root[data-term-display-mode=term-only] .query-parser-term>ruby>rt {
display: none;
}
diff --git a/ext/data/schemas/options-schema.json b/ext/data/schemas/options-schema.json
index b3f68881..0cb6db0a 100644
--- a/ext/data/schemas/options-schema.json
+++ b/ext/data/schemas/options-schema.json
@@ -290,7 +290,7 @@
},
"termDisplayMode": {
"type": "string",
- "enum": ["ruby", "ruby-and-reading", "term-and-reading"],
+ "enum": ["ruby", "ruby-and-reading", "term-and-reading", "term-only"],
"default": "ruby"
},
"sortFrequencyDictionary": {
diff --git a/ext/settings.html b/ext/settings.html
index 3c94b95e..68113d21 100644
--- a/ext/settings.html
+++ b/ext/settings.html
@@ -851,6 +851,7 @@
<option value="ruby">Term furigana</option>
<option value="ruby-and-reading">Term furigana and reading</option>
<option value="term-and-reading">Plain term and reading</option>
+ <option value="term-only">Plain term</option>
</select>
</div>
</div></div>