
I’m trying to create an absolutely placed footer that contains a form. It can expand to 1000 and then should be centered if the screen size is greater than that. If the screen is less than 1000 then it should shrink to a minimum of 300. The container seen in white has auto layout applied.
How do I prevent the blue box from breaking out of the layout?