From 0762f13a6d4c2a434c55896294f70750a326da64 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Thu, 30 Jan 2020 18:59:32 -0500 Subject: [PATCH] Workaround Firefox text selection bug --- ext/mixed/css/display.css | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/ext/mixed/css/display.css b/ext/mixed/css/display.css index b70ede90..3f6d3a7a 100644 --- a/ext/mixed/css/display.css +++ b/ext/mixed/css/display.css @@ -251,6 +251,7 @@ button.action-button { .term-reasons>.term-reason+.term-reason-separator+.term-reason:before { content: " \00AB "; /* The two spaces is not a typo */ + white-space: pre-wrap; display: inline; } @@ -403,7 +404,16 @@ button.action-button { } :root[data-compact-glossaries=true] .term-glossary-list>li:not(:first-child):before { + white-space: pre-wrap; content: " | "; + display: inline; +} + +.term-glossary-separator, +.term-reason-separator { + display: inline; + font-size: 0; + opacity: 0; } /* @@ -468,13 +478,3 @@ 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; -}