Consistent bracket spacing in main example (#1517)
Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1517 Accidentally using a combination of prettier default vs with `--no-bracket-spacing` Reviewed By: yungsters Differential Revision: D52162274 fbshipit-source-id: a0e629717060c17b63fa6144d775a590258580ac
This commit is contained in:
committed by
Facebook GitHub Bot
parent
3f3b909086
commit
7697be57a8
@@ -38,11 +38,11 @@ function HeroSection() {
|
||||
|
||||
const playgroundCode = `
|
||||
<Layout config={{useWebDefaults: false}}>
|
||||
<Node style={{ width: 250, height: 475, padding: 10 }}>
|
||||
<Node style={{ flex: 1, rowGap: 10}}>
|
||||
<Node style={{ height: 60 }} />
|
||||
<Node style={{ flex: 1, marginInline: 10 }} />
|
||||
<Node style={{ flex: 2, marginInline: 10 }} />
|
||||
<Node style={{width: 250, height: 475, padding: 10}}>
|
||||
<Node style={{flex: 1, rowGap: 10}}>
|
||||
<Node style={{height: 60}} />
|
||||
<Node style={{flex: 1, marginInline: 10}} />
|
||||
<Node style={{flex: 2, marginInline: 10}} />
|
||||
<Node
|
||||
style={{
|
||||
position: "absolute",
|
||||
@@ -54,10 +54,10 @@ const playgroundCode = `
|
||||
justifyContent: "space-around",
|
||||
}}
|
||||
>
|
||||
<Node style={{ height: 40, width: 40 }} />
|
||||
<Node style={{ height: 40, width: 40 }} />
|
||||
<Node style={{ height: 40, width: 40 }} />
|
||||
<Node style={{ height: 40, width: 40 }} />
|
||||
<Node style={{height: 40, width: 40}} />
|
||||
<Node style={{height: 40, width: 40}} />
|
||||
<Node style={{height: 40, width: 40}} />
|
||||
<Node style={{height: 40, width: 40}} />
|
||||
</Node>
|
||||
</Node>
|
||||
</Node>
|
||||
|
Reference in New Issue
Block a user