diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2020-12-15 12:56:43 +0100 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2020-12-15 16:42:39 +0100 |
commit | b0722fbc14cf1cee412c3524c51705c9902bde7f (patch) | |
tree | 070a16d495d962a1f4efb9e196fae18803cf3835 /app/javascript/flavours/glitch/styles/components/status.scss | |
parent | 62051072297afaa6d1dc48e42df28d59cdcbc540 (diff) |
[Glitch] Change RTL detection to rely on unicode-bidi paragraph by paragraph
Port 1f564051b6b447e3663852c482982b3ff5a2f238 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/styles/components/status.scss')
-rw-r--r-- | app/javascript/flavours/glitch/styles/components/status.scss | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/status.scss b/app/javascript/flavours/glitch/styles/components/status.scss index 94b9a1e99..d6fbfbaa4 100644 --- a/app/javascript/flavours/glitch/styles/components/status.scss +++ b/app/javascript/flavours/glitch/styles/components/status.scss @@ -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; |