aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed/css/display.css
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-01-30 18:59:32 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-01 21:00:07 -0500
commit0762f13a6d4c2a434c55896294f70750a326da64 (patch)
tree0f9ff046d41102dfe0561eba6abe3494b04a9404 /ext/mixed/css/display.css
parentdb247a283784a0a01dca18f6afe325de7d110ba9 (diff)
Workaround Firefox text selection bug
Diffstat (limited to 'ext/mixed/css/display.css')
-rw-r--r--ext/mixed/css/display.css20
1 files 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;
-}