Skip to content

Commit

Permalink
Fix question mark icon orientation in Arabic, Kurdish, Persian, and Urdu
Browse files Browse the repository at this point in the history
  • Loading branch information
kommunarr committed Sep 1, 2023
2 parents b9d6bf1 + 83db9b6 commit c136216
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/renderer/themes.css
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,13 @@ body[dir='rtl'] {
--horizontal-directionality-coefficient: -1;
}

body[dir='rtl'] [data-prefix="fas"]:not([data-icon="magnifying-glass"]):not([data-icon="circle-question"]) {
/* Arabic, Kurdish, Persian and Urdu have a reversed question mark, but not Hebrew and Yiddish */
html[lang='he'] body[dir='rtl'] [data-prefix="fas"]:not([data-icon="magnifying-glass"]):not([data-icon="circle-question"]),
html[lang='yi'] body[dir='rtl'] [data-prefix="fas"]:not([data-icon="magnifying-glass"]):not([data-icon="circle-question"]) {
transform: scale(-1,1);
}

body[dir='rtl'] [data-prefix="fas"]:not([data-icon="magnifying-glass"]) {
transform: scale(-1,1);
}

Expand Down

0 comments on commit c136216

Please sign in to comment.