flexbugs
flexbugs copied to clipboard
Firefox flexbugs - Percentage padding not taken into account
I have a div element child of a flexbox layout where the percentage value padding is not taken into account on Firefox.
CodePen:
https://codepen.io/mouadennaciri/pen/WMxEBJ
Is it a flexbug?
I can see the horizontal padding in effect, but the vertical padding is indeed missing.
Apparently this is a known problem : https://stackoverflow.com/questions/36783190/why-doesnt-percentage-padding-margin-work-on-flex-items-in-firefox