How to calculate width of container which contain flex-shrink
flexBasis * (1 + shrinkFactor / sumScaledShrinkFactors * remainingFreeSpace) https://stackoverflow.com/questions/36550840/how-to-calculate-flex-shrink-when-flex-items-have-a-different-flex-basis