flex-basis: 0 allows make flexbox smaller than its contents on Safari <10. https://github.com/philipwalton/flexbugs#1-minimum-content-sizing-of-flex-items-not-honored