Closed MartijnCuppens closed 5 years ago
Thanks! I debated whether or not to bake this in but I think it's worth it for the convenience. Generally I'm hesitant to bake things in that introduce any sort of awareness of the context of where something is being used, but it would be annoying to add flex-shrink-0
99% of the time you ever use these elements, even if I believe that really is the concern of the consumer when choosing to put the element inside a flex container, hah.
Prevent checkbox/radio from shrinking in flex container. See https://codepen.io/MartijnCuppens/pen/BebyKd