MOBILE-3833 core: Fix site listing styles

main
Noel De Martin 2022-03-22 10:50:16 +01:00
parent 9514f1e719
commit 8cd6869f35
1 changed files with 11 additions and 1 deletions

View File

@ -38,7 +38,8 @@
max-width: fit-content; max-width: fit-content;
width: auto; width: auto;
height: 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)); @include transform(translate3d(-50%,0,0));
object-fit: cover; object-fit: cover;
object-position: 50% 50%; 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-logo,
.core-login-site-list, .core-login-site-list,
.core-login-site-list-found { .core-login-site-list-found {