From 3e8ddabcc1890360d9f42e8d483cf8061a07e582 Mon Sep 17 00:00:00 2001 From: Mostafa Ahangarha Date: Thu, 24 Jun 2021 11:56:58 +0430 Subject: [PATCH] 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. --- assets/css/default.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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; +}