Upgraded min-heights, added flexbox