From 81c17a56fb6d8ad26480d06586cb5b2e0ea406d5 Mon Sep 17 00:00:00 2001 From: Lipis Date: Sun, 13 Dec 2020 14:39:45 +0200 Subject: [PATCH] RTL support for the stats dialog (#2530) --- src/components/Stats.scss | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/components/Stats.scss b/src/components/Stats.scss index 17e678f0..a6849f3b 100644 --- a/src/components/Stats.scss +++ b/src/components/Stats.scss @@ -6,8 +6,10 @@ right: 12px; font-size: 12px; z-index: 999; + h3 { margin: 0 24px 8px 0; + white-space: nowrap; } .close { @@ -29,9 +31,21 @@ } tr { td:nth-child(2) { - min-width: 48px; + min-width: 24px; text-align: right; } } } + + :root[dir="rtl"] & { + left: 12px; + right: initial; + + h3 { + margin: 0 0 8px 24px; + } + .close { + float: left; + } + } }