Home › Forums › CSS › [Solved] Having a problem with border delcaration breaking flexbox layout › Reply To: [Solved] Having a problem with border delcaration breaking flexbox layout
May 8, 2014 at 5:21 am
#169541
Chris Coyier
Keymaster
Pretty weird! I tinkered with it for a minute thinking it would be fairly obvious but it wasn’t to me at all.
I did discover that without the border there, the browser renders it at 0 width, hence the weird collapsing/breaking. Also using padding
in that rule “fixes” it just like border does.