Files
yoga/docs/path---docs-margins-paddings-borders-dfb890f92774bcb16fe8.js
Daniel Büchele e024943c4b bugfixes
Summary:
- adds favicon
- adds page titles
- fixes bug in react native code gen

allow-large-files

Reviewed By: emilsjolander

Differential Revision: D7013492

fbshipit-source-id: d29a56a7caddf0da4fb19a0ba443c6906ccfff56
2018-02-19 02:38:16 -08:00

2 lines
1.4 KiB
JavaScript

webpackJsonp([87383622102453],{528:function(o,t){o.exports={pathContext:{frontmatter:{path:"docs/margins-paddings-borders",title:"Margins, Paddings, and Borders",hasPlayground:!0,initialPlayground:null,redirect:null},html:'<h2>Margins, Paddings, and Borders</h2>\n<p><strong>MARGIN</strong> effects the spacing around the outside of a node. A node with margin\nwill offset itself from the bounds of its parent but also offset the\nlocation of any siblings. The margin of a node contributes to the total size\nof its parent if the parent is auto sized.</p>\n<p><controls prop="margin"></controls></p>\n<p><strong>PADDING</strong> affects the size of the node it is applied to. Padding in Yoga acts as if\n<code>box-sizing: border-box;</code> was set. That is padding will not add to the total size\nof an element if it has an explicit size set. For auto sized nodes padding will increase\nthe size of the node as well as offset the location of any children.</p>\n<p><controls prop="padding"></controls></p>\n<p><strong>BORDER</strong> in Yoga acts exactly like padding and only exists as a seperate property so\nthat higher level frameworks get a hint as to how thick to draw a border. Yoga however\ndoes not do any drawing so just uses this information during layout where border\nacts exactly like padding.</p>\n<p><controls prop="border"></controls></p>'}}}});
//# sourceMappingURL=path---docs-margins-paddings-borders-dfb890f92774bcb16fe8.js.map