summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-03-29 11:27:35 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-03-29 11:27:35 -0400
commit938b69646820482a958cd8e0a65a03400ee6a7ac (patch)
tree541ddff266418f2630cbb2eb834ec297d18537e5 /ext
parent1f84280ea0dd348770b70c03a8cba7c9b165add7 (diff)
Hide reading disambiguation if the downstep notation is visible
Diffstat (limited to 'ext')
-rw-r--r--ext/mixed/css/display.css10
1 files changed, 6 insertions, 4 deletions
diff --git a/ext/mixed/css/display.css b/ext/mixed/css/display.css
index c351a34c..a4432016 100644
--- a/ext/mixed/css/display.css
+++ b/ext/mixed/css/display.css
@@ -493,10 +493,6 @@ button.action-button {
padding-right: 0.25em;
}
-.term-pitch-accent-disambiguation-list[data-count="0"] {
- display: none;
-}
-
.term-pitch-accent-disambiguation-list:before {
content: "(";
}
@@ -509,6 +505,12 @@ button.action-button {
content: ", ";
}
+.term-pitch-accent-disambiguation-list[data-count="0"],
+:root[data-show-pitch-accent-downstep-notation=true] .term-pitch-accent-disambiguation-list[data-expression-count="0"],
+:root[data-show-pitch-accent-downstep-notation=true] .term-pitch-accent-disambiguation[data-type=reading] {
+ display: none;
+}
+
.term-pitch-accent-tag-list:not([data-count="0"]) {
margin-right: 0.375em;
}