Skip to content

Commit

Permalink
Remove docs reference to incorrect align-items default
Browse files Browse the repository at this point in the history
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 facebook#9397, but this section was not updated in that PR.
Closes facebook#11373

Differential Revision: D4299871

Pulled By: ericnakagawa

fbshipit-source-id: 1bee27b0dced192ef42e21ca8cc800d52edce195
  • Loading branch information
esauter5 authored and Facebook Github Bot committed Dec 8, 2016
1 parent b775f88 commit 9dcea13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/LayoutWithFlexbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9dcea13

Please sign in to comment.