Skip to content

Commit 795067c

Browse files
authored
Fix layout for inner cards (#163)
* Fix layout for inner documentation cards * Fix layout in the contribute page
1 parent 7dff469 commit 795067c

File tree

2 files changed

+15
-20
lines changed

2 files changed

+15
-20
lines changed

_layouts/doc.html

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,15 @@
1313
{{ content | remove: "<!-- mdpo-disable -->" | remove: "<!-- mdpo-enable -->" | remove: "<!-- mdpo-disable-next-line -->" | remove: "<!-- mdpo-enable-next-line -->" }}
1414
</article>
1515

16-
<div class="container-fluid">
17-
<div class="container py-3">
18-
<div class="row justify-content-start pb-4">
19-
{% assign items = site.documentation | sort: 'title' | sort: 'order' %}
20-
{% for documentation in items %}
21-
{% if documentation.group == page.group and documentation.level > page.level %}
22-
{% include documentation-card.html item=documentation %}
23-
{% endif %}
24-
{% endfor %}
25-
</div>
26-
</div>
16+
<div class="row justify-content-start pb-4">
17+
{% assign items = site.documentation | sort: 'title' | sort: 'order' %}
18+
{% for documentation in items %}
19+
{% if documentation.group == page.group and documentation.level > page.level %}
20+
{% include documentation-card.html item=documentation %}
21+
{% endif %}
22+
{% endfor %}
2723
</div>
24+
2825
</div>
2926
</div>
3027
</div>

contribute.html

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,13 @@
77

88
<p>{% t contribute.introduction %}</p>
99

10-
<div class="container-fluid">
11-
<div class="row pb-4">
12-
{% include contribute-card.html icon="fa-language" url="/contribute/translate" item="translate" %}
13-
{% include contribute-card.html icon="fa-comment" url="https://forum.antennapod.org/" item="support" target="external" %}
14-
{% include contribute-card.html icon="fa-vial" url="/documentation/general/beta" item="test" %}
15-
{% include contribute-card.html icon="fa-code" url="/contribute/develop" item="develop" %}
16-
{% include contribute-card.html icon="fa-bullhorn" url="/contribute/promote" item="promote" %}
17-
{% include contribute-card.html icon="fa-pencil-ruler" url="https://github.com/AntennaPod/AntennaPod/labels/needs:%20mock-up%20or%20user%20story" item="design" target="external" %}
18-
</div>
10+
<div class="row pb-4">
11+
{% include contribute-card.html icon="fa-language" url="/contribute/translate" item="translate" %}
12+
{% include contribute-card.html icon="fa-comment" url="https://forum.antennapod.org/" item="support" target="external" %}
13+
{% include contribute-card.html icon="fa-vial" url="/documentation/general/beta" item="test" %}
14+
{% include contribute-card.html icon="fa-code" url="/contribute/develop" item="develop" %}
15+
{% include contribute-card.html icon="fa-bullhorn" url="/contribute/promote" item="promote" %}
16+
{% include contribute-card.html icon="fa-pencil-ruler" url="https://github.com/AntennaPod/AntennaPod/labels/needs:%20mock-up%20or%20user%20story" item="design" target="external" %}
1917
</div>
2018

2119
<p id="donate">{% t contribute.donate %}</p>

0 commit comments

Comments
 (0)