Change padding order to match css padding.