Skip to content

Commit 0ec96f0

Browse files
authored
1 parent 757aeeb commit 0ec96f0

File tree

4 files changed

+16
-11
lines changed

4 files changed

+16
-11
lines changed

.changeset/lucky-pianos-search.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'polaris.shopify.com': patch
3+
---
4+
5+
Fixed bleed examples

polaris.shopify.com/pages/examples/bleed-all-directions.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import {withPolarisExample} from '../../src/components/PolarisExampleWrapper';
55

66
function BleedAllDirectionsExample() {
77
return (
8-
<Box background="surface" border="base" padding="4">
9-
<Bleed vertical="4" horizontal="4">
8+
<Box background="surface" border="base" padding="5">
9+
<Bleed vertical="5">
1010
<Placeholder label="All directions" />
1111
</Bleed>
1212
</Box>

polaris.shopify.com/pages/examples/bleed-specific-direction.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ import {withPolarisExample} from '../../src/components/PolarisExampleWrapper';
66
function BleedSpecificDirectionExample() {
77
return (
88
<AlphaStack spacing="6" fullWidth>
9-
<Box background="surface" border="base" padding="4">
10-
<Bleed top="4">
9+
<Box background="surface" border="base" padding="5">
10+
<Bleed top="5">
1111
<Placeholder label="Top" />
1212
</Bleed>
1313
</Box>
14-
<Box background="surface" border="base" padding="4">
15-
<Bleed bottom="4">
14+
<Box background="surface" border="base" padding="5">
15+
<Bleed bottom="5">
1616
<Placeholder label="Bottom" />
1717
</Bleed>
1818
</Box>
19-
<Box background="surface" border="base" padding="4">
20-
<Bleed left="4">
19+
<Box background="surface" border="base" padding="5">
20+
<Bleed left="5" right="0">
2121
<Placeholder label="Left" />
2222
</Bleed>
2323
</Box>
24-
<Box background="surface" border="base" padding="4">
25-
<Bleed right="4">
24+
<Box background="surface" border="base" padding="5">
25+
<Bleed right="5" left="0">
2626
<Placeholder label="Right" />
2727
</Bleed>
2828
</Box>

polaris.shopify.com/pages/examples/bleed-vertical.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {withPolarisExample} from '../../src/components/PolarisExampleWrapper';
66
function BleedVerticalExample() {
77
return (
88
<Box background="surface" border="base" padding="4">
9-
<Bleed vertical="4">
9+
<Bleed horizontal="0" vertical="4">
1010
<Placeholder label="Vertical" />
1111
</Bleed>
1212
</Box>

0 commit comments

Comments
 (0)