From db247a283784a0a01dca18f6afe325de7d110ba9 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Wed, 29 Jan 2020 20:47:24 -0500 Subject: [PATCH] Fix double clicking reason and glossary text --- ext/mixed/css/display.css | 12 +++++++++++- ext/mixed/display-templates.html | 4 ++-- ext/mixed/js/display-generator.js | 9 +++++++-- 3 files changed, 20 insertions(+), 5 deletions(-) diff --git a/ext/mixed/css/display.css b/ext/mixed/css/display.css index 8bbd5731..b70ede90 100644 --- a/ext/mixed/css/display.css +++ b/ext/mixed/css/display.css @@ -249,7 +249,7 @@ button.action-button { display: inline-block; } -.term-reasons>.term-reason+.term-reason:before { +.term-reasons>.term-reason+.term-reason-separator+.term-reason:before { content: " \00AB "; /* The two spaces is not a typo */ display: inline; } @@ -468,3 +468,13 @@ button.action-button { padding-left: 1.4em; list-style-type: decimal; } + +.term-glossary-separator, +.term-reason-separator { + display: inline-block; + width: 0; + height: 0; + font-size: 0; + opacity: 0; + white-space: pre; +} diff --git a/ext/mixed/display-templates.html b/ext/mixed/display-templates.html index eda9abd9..e762f66b 100644 --- a/ext/mixed/display-templates.html +++ b/ext/mixed/display-templates.html @@ -31,8 +31,8 @@ - - + +