Correctly style readonly text fields (see #7296)