CON-2175: Fix for misalligned text

you can check if element contains class which indicates float:right instead of checking computed style