Added flex properties to container.
Also replaced underscores in flex align properties with dashes.