ДЕМО
(свойство flex-shrink)

flex-shrink: 0;
shrink=0
shrink=1
shrink=1

flex-shrink: 1;
shrink=1
shrink=1
shrink=1

flex-shrink: 2;
shrink=2
shrink=1
shrink=1