[Glitch] Change RTL detection to rely on unicode-bidi paragraph by paragraph

Port 1f564051b6 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Eugen Rochko
2020-12-15 12:56:43 +01:00
committed by Claire
parent 6205107229
commit b0722fbc14
6 changed files with 4 additions and 59 deletions

View File

@ -70,6 +70,7 @@
p, pre, blockquote {
margin-bottom: 20px;
white-space: pre-wrap;
unicode-bidi: plaintext;
&:last-child {
margin-bottom: 0;
@ -152,6 +153,7 @@
a {
color: $secondary-text-color;
text-decoration: none;
unicode-bidi: isolate;
&:hover {
text-decoration: underline;