The flex-shrink property has a default value of 1 - this is why the elements shrink. To disable shrinking, set this property to 0. You can also give fractional values, such as 0.5 or 1.5.
flex-shrink
1
0
0.5
1.5