Workaround Firefox text selection bug

This commit is contained in:
toasted-nutbread 2020-01-30 18:59:32 -05:00
parent db247a2837
commit 0762f13a6d

View File

@ -251,6 +251,7 @@ button.action-button {
.term-reasons>.term-reason+.term-reason-separator+.term-reason:before { .term-reasons>.term-reason+.term-reason-separator+.term-reason:before {
content: " \00AB "; /* The two spaces is not a typo */ content: " \00AB "; /* The two spaces is not a typo */
white-space: pre-wrap;
display: inline; display: inline;
} }
@ -403,7 +404,16 @@ button.action-button {
} }
:root[data-compact-glossaries=true] .term-glossary-list>li:not(:first-child):before { :root[data-compact-glossaries=true] .term-glossary-list>li:not(:first-child):before {
white-space: pre-wrap;
content: " | "; 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; padding-left: 1.4em;
list-style-type: decimal; 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;
}