x
1
2
3
4
5
6
7
8
9
10
11
12
13
<div style="--pc-box-background: var(--p-color-bg);--pc-box-border-color: var(--p-color-border-subdued);--pc-box-border-style: solid;--pc-box-border-width: var(--p-border-width-1);--pc-box-padding-block-end-xs: var(--p-space-8);--pc-box-padding-block-start-xs: var(--p-space-8);--pc-box-padding-inline-end-xs: var(--p-space-8);--pc-box-padding-inline-start-xs: var(--p-space-8)" class="Polaris-Box"> <div style="--pc-bleed-margin-inline-start-xs: var(--p-space-8);--pc-bleed-margin-inline-end-xs: var(--p-space-8)" class="Polaris-Bleed"> <div style="background-color: var(--p-color-text-info);color: #fff;width: auto;height: 48px;display: flex;align-items: center;justify-content: center;border-inline-start: none"> <div style="--pc-inline-align: center; --pc-inline-block-align: center; --pc-inline-wrap: wrap; --pc-inline-gap-xs: var(--p-space-4)" class="Polaris-Inline"> <div style="color: #fff;"> <h2 class="Polaris-Text--root Polaris-Text--bodyMd Polaris-Text--regular"> margin_inline </h2> </div> </div> </div> </div></div>
1
2
3
4
5
6
7
8
9
10
<%= polaris_box( background: "bg", border_width: "1", border_color: "border-subdued", padding: "8") do %> <%= polaris_bleed(margin_inline: "8") do %> <%= polaris_placeholder(height: "48px", label: "margin_inline") %> <% end %><% end %>
No notes provided.
No params configured.