From 9dcea1379543de2b04efe86bb3cc88aa658c588f Mon Sep 17 00:00:00 2001 From: Eric Sauter Date: Thu, 8 Dec 2016 10:25:18 -0800 Subject: [PATCH] Remove docs reference to incorrect align-items default Summary: Per https://developer.mozilla.org/en-US/docs/Web/CSS/align-items, the default for `align-items` is stretch, so I removed the reference that suggested otherwise Similar to https://github.com/facebook/react-native/pull/9397, but this section was not updated in that PR. Closes https://github.com/facebook/react-native/pull/11373 Differential Revision: D4299871 Pulled By: ericnakagawa fbshipit-source-id: 1bee27b0dced192ef42e21ca8cc800d52edce195 --- docs/LayoutWithFlexbox.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/LayoutWithFlexbox.md b/docs/LayoutWithFlexbox.md index d484d7808..45dc8111f 100644 --- a/docs/LayoutWithFlexbox.md +++ b/docs/LayoutWithFlexbox.md @@ -12,7 +12,7 @@ A component can specify the layout of its children using the flexbox algorithm. You will normally use a combination of `flexDirection`, `alignItems`, and `justifyContent` to achieve the right layout. -> Flexbox works the same way in React Native as it does in CSS on the web, with a few exceptions. The defaults are different, with `flexDirection` defaulting to `column` instead of `row`, and `alignItems` defaulting to `stretch` instead of `flex-start`, and the `flex` parameter only supports a single number. +> Flexbox works the same way in React Native as it does in CSS on the web, with a few exceptions. The defaults are different, with `flexDirection` defaulting to `column` instead of `row`, and the `flex` parameter only supporting a single number. #### Flex Direction