Refactor text-align