x
    
    1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<div class="Polaris-Layout">  <div class="Polaris-Layout__Section Polaris-Layout__Section--oneHalf">        <div class="Polaris-LegacyCard">      <div class="Polaris-LegacyCard__Header">        <h2 class="Polaris-Text--root Polaris-Text--headingMd Polaris-Text--semibold">          First half        </h2>      </div>      <div class="Polaris-LegacyCard__Section">        <p>View a summary of your order.</p>      </div>    </div>  </div>  <div class="Polaris-Layout__Section Polaris-Layout__Section--oneHalf">        <div class="Polaris-LegacyCard">      <div class="Polaris-LegacyCard__Header">        <h2 class="Polaris-Text--root Polaris-Text--headingMd Polaris-Text--semibold">          Second half        </h2>      </div>      <div class="Polaris-LegacyCard__Section">        <p>Add tags to your order.</p>      </div>    </div>  </div></div>1
2
3
4
5
6
7
8
9
10
11
12
13
<%= polaris_layout do |layout| %>  <% layout.with_section(one_half: true) do %>    <%= polaris_card(title: "First half", sectioned: true) do %>      <p>View a summary of your order.</p>    <% end %>  <% end %>  <% layout.with_section(one_half: true) do %>    <%= polaris_card(title: "Second half", sectioned: true) do %>      <p>Add tags to your order.</p>    <% end %>  <% end %><% end %>Use to create a ½ + ½ layout. Can be used to display content of equal importance. This layout will stack the columns on small screens.
No params configured.