Arabic Language UI issue

0
Hi Forum, When I change language of my app to Arabic. The icon should be in right side.  I have tried with some scss code for home icon -   a.mx-name-menuBar1-0 {     direction: rtl; }   this worked but for English also icon is coming on right side, which is not correct. Could you please help on this?
asked
2 answers
0

Hi Sweety Kumari,

 

you need to add a dynamic class, in this way, you can decide the conditions to apply your scss class,

based on attributes, in this case, the language selected by the user.

 

let me know if it works :)

Andrea

answered
0

You could change your css to only apply when the body is in rtl like this:

body[dir='rtl'] a.mx-name-menuBar1-0 {
    direction: rtl;
}

 

answered