Uncompressing flex blocks in CSS
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.
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.