Skip to content

Commit 9dcea13

Browse files
esauter5Facebook Github Bot
authored andcommitted
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 facebook#9397, but this section was not updated in that PR. Closes facebook#11373 Differential Revision: D4299871 Pulled By: ericnakagawa fbshipit-source-id: 1bee27b0dced192ef42e21ca8cc800d52edce195
1 parent b775f88 commit 9dcea13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/LayoutWithFlexbox.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ A component can specify the layout of its children using the flexbox algorithm.
1212

1313
You will normally use a combination of `flexDirection`, `alignItems`, and `justifyContent` to achieve the right layout.
1414

15-
> 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.
15+
> 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.
1616
1717
#### Flex Direction
1818

0 commit comments

Comments
 (0)