Home › Forums › CSS › Flexbox and padding problem › Reply To: Flexbox and padding problem
August 21, 2014 at 7:55 am
#180123
Participant
… The problem isn’t that I can’t get it to work (text nodes are there just to show the items)
And without the use of display: flex on the parent of that p (and flex: 1 on p) it doesn’t work (try adding more text on one of the p elements)
The point was… why does flex element sizes change when padding is added? (even with box-sizing)