designsystemet icon indicating copy to clipboard operation
designsystemet copied to clipboard

Prevent components from shrinking/growing in flex containers

Open mimarz opened this issue 10 months ago • 1 comments

How far should we stretch us to prevent our components shrinking or growing in flex containers?

usually solved by min-width:0 or fit-content

mimarz avatar Mar 03 '25 08:03 mimarz

Some might want components to grow. We should go over our components and see which we think should not. I think keeping default behaviour is the best in most cases

Barsnes avatar Mar 14 '25 12:03 Barsnes