From 6481899454b8469ae70cfcc6b9356708df27a54b Mon Sep 17 00:00:00 2001 From: Matthias Metelka <62722460+kleinerpirat@users.noreply.github.com> Date: Thu, 8 Dec 2022 13:29:56 +0100 Subject: [PATCH] Fix some more RTL issues (#2244) * Swap flag and mark indicator position in RTL mode * Make buttons of bottom toolbar align to edge of screen in RTL mode * Use start instead of left and end instead of right --- pylib/anki/stats.py | 6 +++--- qt/aqt/deckbrowser.py | 2 +- qt/aqt/reviewer.py | 4 ++-- ts/graphs/reviews.ts | 4 ++-- ts/reviewer/reviewer.scss | 16 +++++++++++++--- 5 files changed, 21 insertions(+), 11 deletions(-) diff --git a/pylib/anki/stats.py b/pylib/anki/stats.py index a9b1c7a56..9ed0b9170 100644 --- a/pylib/anki/stats.py +++ b/pylib/anki/stats.py @@ -63,7 +63,7 @@ class CardStats: self.txt += self.makeLine(k, v) def makeLine(self, k: str, v: str | int) -> str: - txt = "
+ | - | + |