removes box-flex sizes for legacy so stuff is in the middle