CORE-551 fixed right positioning for text-align

CORE-551 fixed right positioning for text-align