[Web/css/figma] Figma autolayout stretch with padding, the padding should not effect the final size. while `flex: 1` · Issue #93 · gridaco/code · GitHub
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Origin design

source: https://www.figma.com/file/HSozKEVWhh8saZa2vr1Nxd/code.grida.co-(design-to-code)?node-id=734%3A11411
Generated

The problem
when using padding
on


off
Reference
https://stackoverflow.com/questions/37785345/how-to-get-flexbox-to-include-padding-in-calculations