MOBILE-2716 rtl: Fix RTL text alignment

main
Pau Ferrer Ocaña 2018-11-09 11:25:23 +01:00
parent 9e95285f62
commit 51d530f7b5
3 changed files with 8 additions and 7 deletions

View File

@ -45,7 +45,7 @@ addon-qtype-ddmarker {
div.ddarea .markertexts { div.ddarea .markertexts {
min-height: 80px; min-height: 80px;
position: absolute; position: absolute;
text-align: left; @include text-align('start');
} }
.dropbackground { .dropbackground {
margin: 0 auto; margin: 0 auto;

View File

@ -205,6 +205,7 @@ ion-app.app-root {
} }
input { input {
@include text-align('end');
@include rtl() { @include rtl() {
text-align: right; text-align: right;
} }
@ -248,7 +249,7 @@ ion-app.app-root {
.core-show-more { .core-show-more {
color: color($colors, dark); color: color($colors, dark);
text-align: right; @include text-align('end');
font-size: 14px; font-size: 14px;
display: block; display: block;
position: absolute; position: absolute;
@ -423,7 +424,7 @@ ion-app.app-root {
width: 100%; width: 100%;
.select-text { .select-text {
white-space: normal; white-space: normal;
text-align: right; @include text-align('end');
} }
} }
@ -481,7 +482,7 @@ ion-app.app-root {
ion-icon:last-child { ion-icon:last-child {
@include margin(null, null, null, 5px); @include margin(null, null, null, 5px);
text-align: right; @include text-align('end');
flex-grow: 2; flex-grow: 2;
} }
} }
@ -891,7 +892,7 @@ ion-app.app-root {
.alert-head { .alert-head {
padding: 5px 10px; padding: 5px 10px;
text-align: left; @include text-align('start');
h2 { h2 {
font-size: 14px; font-size: 14px;
} }
@ -899,7 +900,7 @@ ion-app.app-root {
.alert-message { .alert-message {
padding: 5px 10px; padding: 5px 10px;
text-align: left; @include text-align('start');
p { p {
font-size: 14px; font-size: 14px;
margin-top: 5px; margin-top: 5px;

View File

@ -13,7 +13,7 @@ ion-app.app-root core-grades-course {
@include padding(10px, 10px, 10px, null); @include padding(10px, 10px, 10px, null);
vertical-align: top; vertical-align: top;
white-space: normal; white-space: normal;
text-align: left; @include text-align('start');
} }
thead th { thead th {
vertical-align: bottom; vertical-align: bottom;