From 938b69646820482a958cd8e0a65a03400ee6a7ac Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 29 Mar 2020 11:27:35 -0400 Subject: Hide reading disambiguation if the downstep notation is visible --- ext/mixed/css/display.css | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'ext/mixed') 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; } -- cgit v1.2.3