Update main.css

Using min-height instead of max, see if it gets ignored in iPad, as I would expect.