change padding in vertical orientation