added max-content for non-webkit/moz users