Changing flex css for Firefox incompatibility