Skip to content

Commit e994a78

Browse files
committed
Re-add AlphaCard story changes
1 parent ea8cb2a commit e994a78

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

polaris-react/src/components/Card/Card.stories.tsx

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ export function Default() {
1313
<Text as="h3" variant="headingMd">
1414
Online store dashboard
1515
</Text>
16-
<Text variant="bodyMd" as="p">
17-
View a summary of your online store’s performance.
18-
</Text>
16+
<p>View a summary of your online store’s performance.</p>
1917
</Stack>
2018
</Card>
2119
);
@@ -28,9 +26,7 @@ export function WithBackgroundSubdued() {
2826
<Text as="h3" variant="headingMd">
2927
Online store dashboard
3028
</Text>
31-
<Text variant="bodyMd" as="p">
32-
View a summary of your online store’s performance.
33-
</Text>
29+
<p>View a summary of your online store’s performance.</p>
3430
</Stack>
3531
</Card>
3632
);
@@ -43,9 +39,7 @@ export function WithBorderRadiusRoundedAbove() {
4339
<Text as="h3" variant="headingMd">
4440
Online store dashboard
4541
</Text>
46-
<Text variant="bodyMd" as="p">
47-
View a summary of your online store’s performance.
48-
</Text>
42+
<p>View a summary of your online store’s performance.</p>
4943
</Stack>
5044
</Card>
5145
);
@@ -58,9 +52,7 @@ export function WithResponsivePadding() {
5852
<Text as="h3" variant="headingMd">
5953
Online store dashboard
6054
</Text>
61-
<Text variant="bodyMd" as="p">
62-
View a summary of your online store’s performance.
63-
</Text>
55+
<p>View a summary of your online store’s performance.</p>
6456
</Stack>
6557
</Card>
6658
);

0 commit comments

Comments
 (0)