Currently the pages were migrated to Mako (okay, I know) this way, we could detect (somehow) the text direction and change CSS atributes, like
body{
direction:${direction};
text-align:${align}
}
defining in python direction='ltr' | 'rtl', align: (if we are ltr it's left, otherwise right)
but that would be detected somehow.
almost all the layers were migrated to ul and dl, this way when the text-align changes, the orderng will auto-arranged.
Also, the next and prev button are loaded as <img src="../data/next_${direction}.svg" height="24px" width="24px" />
that would help me to catch the idea...
Currently the pages were migrated to Mako (okay, I know) this way, we could detect (somehow) the text direction and change CSS atributes, like ${direction} ;
body{
direction:
text-align:${align}
}
defining in python direction='ltr' | 'rtl', align: (if we are ltr it's left, otherwise right)
but that would be detected somehow.
almost all the layers were migrated to ul and dl, this way when the text-align changes, the orderng will auto-arranged. /data/next_ ${direction} .svg" height="24px" width="24px" />
Also, the next and prev button are loaded as <img src="..
Hope this helps to solve this issue.