MOBILE-4372 theme: Remove modal lateral margin in RTL

main
Alfonso Salces 2023-08-11 09:44:24 +02:00
parent abc6461f36
commit 33bece4e26
1 changed files with 8 additions and 2 deletions

View File

@ -699,8 +699,6 @@ body.core-iframe-fullscreen ion-router-outlet {
--ion-safe-area-right: 0px;
.modal-wrapper {
@include margin-horizontal(var(--modal-lateral-margin), null);
position: absolute;
@include position(0 !important, 0 !important, 0 !important, unset !important);
display: block;
@ -719,6 +717,14 @@ body.core-iframe-fullscreen ion-router-outlet {
}
}
html:not([dir="rtl"]) {
.core-modal-lateral {
.modal-wrapper {
@include margin-horizontal(var(--modal-lateral-margin), null);
}
}
}
.core-modal-transparent-no-filter {
@extend .core-modal-transparent;
ion-backdrop {