You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: polaris.shopify.com/content/components/layout-and-structure/bleed.md
+6-10Lines changed: 6 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,22 +8,18 @@ status:
8
8
value: Alpha
9
9
message: This component is a work in progress and ready for exploratory usage, with breaking changes expected in minor version updates. Please use with caution. Learn more about our [component lifecycles](/getting-started/components-lifecycle).
10
10
examples:
11
-
- fileName: bleed-vertical.tsx
12
-
title: Vertical
13
-
description: >-
14
-
Content will bleed vertically into the surrounding layout using the vertical prop.
15
11
- fileName: bleed-horizontal.tsx
16
12
title: Horizontal
17
13
description: >-
18
-
Content will bleed horizontally into the surrounding layout using the horizontal prop.
14
+
Content will bleed horizontally into the surrounding layout using the `marginInline` prop.
15
+
- fileName: bleed-vertical.tsx
16
+
title: Vertical
17
+
description: >-
18
+
Content will bleed vertically into the surrounding layout using the `marginBlock` prop.
19
19
- fileName: bleed-specific-direction.tsx
20
20
title: Specific direction
21
21
description: >-
22
-
Content will bleed into the surrounding layout in a specific direction using the top, bottom, left, or right prop.
23
-
- fileName: bleed-all-directions.tsx
24
-
title: All directions
25
-
description: >-
26
-
Content will bleed into the surrounding layout in all directions using the spacing prop.
22
+
Negative margins can be added in a specific direction using the [Spacing tokens](https://polaris.shopify.com/tokens/spacing).
0 commit comments