Fix borders and paddings.