Adding pading when the container is < max.