Skip to content
This repository was archived by the owner on May 31, 2022. It is now read-only.

Commit 0726302

Browse files
author
Matthias Leutenegger
committed
change: spacing and container is controlled by holder
1 parent 3730ae6 commit 0726302

File tree

1 file changed

+37
-40
lines changed

1 file changed

+37
-40
lines changed
Lines changed: 37 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,42 @@
1+
<div class="row justify-content-center text-center">
2+
<% if ShowTitle || Content %>
3+
<div class="col-12 col-md-10 col-lg-8 mb-4">
4+
<% if ShowTitle %>
5+
<h2 class="mb-4">$Title</h2>
6+
<% end_if %>
7+
<% if $Content %>
8+
<p>$Content</p>
9+
<% end_if %>
10+
</div>
11+
<% end_if %>
12+
<div class="w-100"></div>
113

2-
<div class="py-5 container text-center">
3-
<div class="row justify-content-center">
4-
<% if ShowTitle || Content %>
5-
<div class="col-12 col-md-10 col-lg-8 mb-4">
6-
<% if ShowTitle %>
7-
<h2 class="mb-4">$Title</h2>
8-
<% end_if %>
9-
<% if $Content %>
10-
<p>$Content</p>
11-
<% end_if %>
12-
</div>
13-
<% end_if %>
14-
<div class="w-100"></div>
15-
16-
<div class="col-12">
17-
<ul class="list-group shadow">
18-
<% loop ListgroupItems %>
19-
<li class="list-group-item text-left text-dark">
20-
<div class="row align-items-center">
21-
<% if Image %>
22-
<div class="col-12 col-md-4 col-lg-3 mb-3 mb-md-0">
23-
<img src="$Image.Fit(600,600).URL" alt="$Title" class="img-fluid rounded">
24-
</div>
25-
<% end_if %>
26-
<div class="col">
27-
<% if ShowTitle %>
28-
<h3>$Title</h3>
29-
<% end_if %>
30-
$Content
31-
<% if CTALink %>
32-
<% with CTALink %>
33-
<a {$IDAttr} class="mx-1 text-$Up.LinkColor" href="{$LinkURL}"{$TargetAttr}>
34-
{$Title}
35-
</a>
36-
<% end_with %>
37-
<% end_if %>
14+
<div class="col-12">
15+
<ul class="list-group shadow">
16+
<% loop ListgroupItems %>
17+
<li class="list-group-item text-left text-dark">
18+
<div class="row align-items-center">
19+
<% if Image %>
20+
<div class="col-12 col-md-4 col-lg-3 mb-3 mb-md-0">
21+
<img src="$Image.Fit(600,600).URL" alt="$Title" class="img-fluid rounded">
3822
</div>
23+
<% end_if %>
24+
<div class="col">
25+
<% if ShowTitle %>
26+
<h3>$Title</h3>
27+
<% end_if %>
28+
$Content
29+
<% if CTALink %>
30+
<% with CTALink %>
31+
<a {$IDAttr} class="mx-1 text-$Up.LinkColor" href="{$LinkURL}"{$TargetAttr}>
32+
{$Title}
33+
</a>
34+
<% end_with %>
35+
<% end_if %>
3936
</div>
40-
</li>
41-
<% end_loop %>
42-
</ul>
43-
</div>
37+
</div>
38+
</li>
39+
<% end_loop %>
40+
</ul>
4441
</div>
4542
</div>

0 commit comments

Comments
 (0)