Closed mahsashadi closed 1 year ago
I have fixed this issue by adding this style:
.osjs-root[data-locale='fa_FA'] {
.osjs-search{
direction: ltr;
}
.osjs-search *{
direction: rtl;
}
}
How can I fix that in your repo?
You can use .osjs-root[data-dir="rtl"] {}
to apply for all rtl languages.
Search styles are defined here: https://github.com/os-js/osjs-client/blob/a777f29e2a3b23eef6c354c8ba106777225fe1e1/src/styles/_search.scss
Search styles are defined here: https://github.com/os-js/osjs-client/blob/a777f29e2a3b23eef6c354c8ba106777225fe1e1/src/styles/_search.scss
@andersevenrud So does it need to have a PR in this file? or just considert it in my own repo?
If it fixes an issue that's upstream you're welcome to open a PR.
Search box is positioned badly when locale is set to Persian.![Screenshot from 2022-12-12 09-46-38](https://user-images.githubusercontent.com/70196035/206980374-9b26ae9a-7fb8-4ba4-bb66-5597ef673ac7.png)