updates css for max width