fixes card component padding for first and last children