At this moment, when we set the "Align" property of a container, it generates the align property in the HTML.
Example:
- Align -> Right
- Generates: <div align="right"></div>
My proposal is to generate "system" classes the same way "OSInline" is added when a container doesn't have "Width" property set.
My suggestion is (following above example):
- Align -> Right
- Generates: <div class="OSAlignRight"></div>
.OSAlignRight {
text-align: right;
}
.ar .OSAlignRight {
text-align: left;
}
The motivation:
- I'm working in Arabic applications and it's a pain in the ass to go around that "align" property. Even after telling the whole dev team "don't use that crap, use our classes".
Please, also update the SILK UI "out-of-the-box" RTL stylesheet to override this system classes.