From 8cd6869f354fff9ac31a12dbf22d091702da8295 Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Tue, 22 Mar 2022 10:50:16 +0100 Subject: [PATCH] MOBILE-3833 core: Fix site listing styles --- src/core/features/login/pages/site/site.scss | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/core/features/login/pages/site/site.scss b/src/core/features/login/pages/site/site.scss index b7e1f5767..5f666b0cf 100644 --- a/src/core/features/login/pages/site/site.scss +++ b/src/core/features/login/pages/site/site.scss @@ -38,7 +38,8 @@ max-width: fit-content; width: auto; height: auto; - margin: 0 50% 0 auto; // LTR will be applied on transform. + margin: 0 auto; + margin-left: 50%; @include transform(translate3d(-50%,0,0)); object-fit: cover; object-position: 50% 50%; @@ -50,6 +51,15 @@ } } +:host-context([dir="rtl"]) { + + .item ion-thumbnail img { + margin-left: 0; + margin-right: 50%; + } + +} + .core-login-site-logo, .core-login-site-list, .core-login-site-list-found {