adjust width and padding