RTL confuse

i’m trying to make some changes upon platform dir using ngClass
the first and second ngClass not working but third and fourth working .


then i tried to declare the RTL in ts file isRTL = this.Platform.isRTL ;
put worked wrong by displaying the english content in RTl ![
Cagpture
and i have checked the style and didn’t find any issue

See:

1 Like

You don’t need to give different class for rtl/ltr.
Use in your scss file

@include rtl() {
//rtl styles
}

@include ltrl() {
//ltr styles
}
1 Like

thank you for reply … i will try it