Files
yoga/docs/path---docs-aspect-ratio-c514f204fa50749a8482.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.2 KiB
JavaScript

webpackJsonp([0x7500c6e3ab9f],{522:function(e,t){e.exports={pathContext:{frontmatter:{path:"docs/aspect-ratio",title:"Aspect Ratio",hasPlayground:!0,initialPlayground:null,redirect:null},html:'<h2>Aspect Ratio</h2>\n<p>AspectRatio is a property introduced by Yoga and is not present as a settable\nproperty in the css flexbox specification. Flexbox does has the notion of\naspect ratio though for things with intrinsic aspect ratio such as images.</p>\n<p>The <code>aspect ratio</code> property in Yoga has the following properties:</p>\n<ul>\n<li>Accepts any floating point value > 0, the default is undefined.</li>\n<li>Defined as the ratio between the <code>width</code> and the <code>height</code> of a node e.g. if a node has an aspect ratio of 2 then its <code>width</code> is twice the size of its <code>height</code>.</li>\n<li>Respects the <code>min</code> and <code>max</code> dimensions of an item.</li>\n<li>Has higher priority than <code>flex grow</code></li>\n<li>If <code>aspect ratio</code>, <code>width</code>, and <code>height</code> are set then the cross axis dimension is overridden.</li>\n</ul>\n<p><controls prop="aspectRatio"></controls></p>'}}}});
//# sourceMappingURL=path---docs-aspect-ratio-c514f204fa50749a8482.js.map