Skip to content

Commit af62870

Browse files
committed
fix small layout bugs in app-settings-layout code example
1 parent 74f0bc4 commit af62870

File tree

1 file changed

+11
-11
lines changed
  • polaris.shopify.com/content/patterns/app-settings-layout/variants

1 file changed

+11
-11
lines changed

polaris.shopify.com/content/patterns/app-settings-layout/variants/default.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,19 @@ This pattern uses the [`AlphaStack`](/components/layout-and-structure/alpha-stac
4646
]}
4747
>
4848
<AlphaStack gap="16" align="center">
49-
<Columns columns={{xs: '1fr', md: '2fr 5fr'}}>
49+
<Columns columns={{xs: '1fr', md: '2fr 5fr'}} gap={{xs: '4', md: '0'}}>
5050
<Box
5151
as="section"
5252
paddingInlineStart={{xs: 4, sm: 0}}
53-
paddingInlineEnd={{xs: 2, sm: 0}}
53+
paddingInlineEnd={{xs: 4, sm: 0}}
5454
>
55-
<AlphaStack align="start" gap="4">
55+
<AlphaStack gap="4">
5656
<Text as="h3" variant="headingMd">
5757
InterJambs
5858
</Text>
59-
<p>
59+
<Text as="p" variant="bodyMd">
6060
Interjambs are the rounded protruding bits of your puzzlie piece
61-
</p>
61+
</Text>
6262
</AlphaStack>
6363
</Box>
6464
<AlphaCard roundedAbove="sm">
@@ -68,19 +68,19 @@ This pattern uses the [`AlphaStack`](/components/layout-and-structure/alpha-stac
6868
</AlphaStack>
6969
</AlphaCard>
7070
</Columns>
71-
<Columns columns={{xs: '1fr', md: '2fr 5fr'}}>
71+
<Columns columns={{xs: '1fr', md: '2fr 5fr'}} gap={{xs: '4', md: '0'}}>
7272
<Box
7373
as="section"
74-
paddingInlineStart={{xs: 2, sm: 0}}
75-
paddingInlineEnd={{xs: 2, sm: 0}}
74+
paddingInlineStart={{xs: 4, sm: 0}}
75+
paddingInlineEnd={{xs: 4, sm: 0}}
7676
>
77-
<AlphaStack align="start" gap="4">
77+
<AlphaStack gap="4">
7878
<Text as="h3" variant="headingMd">
7979
Dimensions
8080
</Text>
81-
<p>
81+
<Text as="p" variant="bodyMd">
8282
Interjambs are the rounded protruding bits of your puzzlie piece
83-
</p>
83+
</Text>
8484
</AlphaStack>
8585
</Box>
8686
<AlphaCard roundedAbove="sm">

0 commit comments

Comments
 (0)