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
27
28
29
30
31
<div class="Polaris-Layout"> <div class="Polaris-Layout__Section"> <div class="Polaris-LegacyCard"> <div class="Polaris-LegacyCard__Header"> <h2 class="Polaris-Text--root Polaris-Text--headingMd Polaris-Text--semibold"> Order details </h2> </div> <div class="Polaris-LegacyCard__Section"> <p> Use to follow a normal section with a secondary section to create a 2/3 + 1/3 layout on detail pages (such as individual product or order pages). Can also be used on any page that needs to structure a lot of content. This layout stacks the columns on small screens. </p> </div> </div> </div> <div class="Polaris-Layout__Section Polaris-Layout__Section--secondary"> <div class="Polaris-LegacyCard"> <div class="Polaris-LegacyCard__Header"> <h2 class="Polaris-Text--root Polaris-Text--headingMd Polaris-Text--semibold"> Tags </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
14
15
16
17
18
<%= polaris_layout do |layout| %> <% layout.with_section do %> <%= polaris_card(title: "Order details", sectioned: true) do %> <p> Use to follow a normal section with a secondary section to create a 2/3 + 1/3 layout on detail pages (such as individual product or order pages). Can also be used on any page that needs to structure a lot of content. This layout stacks the columns on small screens. </p> <% end %> <% end %> <% layout.with_section(secondary: true) do %> <%= polaris_card(title: "Tags", sectioned: true) do %> <p>Add tags to your order.</p> <% end %> <% end %><% end %>
Use to follow a normal section with a secondary section to create a 2/3 + 1/3 layout on detail pages (such as individual product or order pages). Can also be used on any page that needs to structure a lot of content. This layout stacks the columns on small screens.
No params configured.