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.
This commit is contained in:
Mostafa Ahangarha 2021-06-24 11:56:58 +04:30 committed by GitHub
parent 5a8825d016
commit 3e8ddabcc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -515,3 +515,16 @@ hr {
order: 1; order: 1;
margin-top: 20px; margin-top: 20px;
} }
/* Bidi (bidirectional text) support */
h1,
h2,
h3,
h4,
h5,
p,
#descriptionWrapper,
#description-box {
unicode-bidi: plaintext;
text-align: start;
}