mirror of
https://github.com/discourse/discourse.git
synced 2025-06-13 01:46:29 +08:00
FIX: Topic progress bar should be on the left in RTL layouts (#11999)
This commit is contained in:
@ -50,8 +50,14 @@
|
|||||||
margin-bottom: env(safe-area-inset-bottom);
|
margin-bottom: env(safe-area-inset-bottom);
|
||||||
}
|
}
|
||||||
html.rtl & {
|
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user