summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMostafa Ahangarha <ahangarha@users.noreply.github.com>2021-06-24 11:56:58 +0430
committerGitHub <noreply@github.com>2021-06-24 11:56:58 +0430
commit3e8ddabcc1890360d9f42e8d483cf8061a07e582 (patch)
treedd8cb4d46ae2420e73aa5d8dffe41580047acdbd
parent5a8825d01682def020acfd2baf95a44b94790f6f (diff)
downloadinvidious-3e8ddabcc1890360d9f42e8d483cf8061a07e582.tar.gz
invidious-3e8ddabcc1890360d9f42e8d483cf8061a07e582.tar.bz2
invidious-3e8ddabcc1890360d9f42e8d483cf8061a07e582.zip
Add bidi support
Adding these styles is the easiest way to add bidi (bidirectional text) support without or with least side effect. I have tested it by adding it manually on yewtu.be instance and so far it works very well.
-rw-r--r--assets/css/default.css13
1 files changed, 13 insertions, 0 deletions
diff --git a/assets/css/default.css b/assets/css/default.css
index 1d62bc01..de295501 100644
--- a/assets/css/default.css
+++ b/assets/css/default.css
@@ -515,3 +515,16 @@ hr {
order: 1;
margin-top: 20px;
}
+
+/* Bidi (bidirectional text) support */
+h1,
+h2,
+h3,
+h4,
+h5,
+p,
+#descriptionWrapper,
+#description-box {
+ unicode-bidi: plaintext;
+ text-align: start;
+}