FIX: Topic progress bar should be on the left in RTL layouts (#11999)

This commit is contained in:
Osama Sayegh 2021-02-08 09:42:55 +03:00 committed by GitHub
parent 6caef085d3
commit dbb015f03e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 2 deletions

View File

@ -50,8 +50,14 @@
margin-bottom: env(safe-area-inset-bottom);
}
html.rtl & {
right: 0;
left: 1em;
/**
* This should be the other way around, but it has to be "wrong" here
* because our RTL CSS is generated using the `rtlit` gem which flips
* left to right and right to left, so this will be corrected when it
* goes through rtlit.
*/
left: unset;
right: 1em;
}
}