Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: includes/blog/recent-aac.tmpl

Issue 29453600: Issue 4961 - Fix card group field alignment on acceptableads.com (Closed) Base URL: https://hg.adblockplus.org/web.acceptableads.com
Patch Set: Rebase Created July 17, 2017, 1:41 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | includes/index/aa-products.md » ('j') | includes/solutions/style.html » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: includes/blog/recent-aac.tmpl
===================================================================
--- a/includes/blog/recent-aac.tmpl
+++ b/includes/blog/recent-aac.tmpl
@@ -1,20 +1,20 @@
{% if get_pages_metadata({"parent": "blog/index", "committee": "true"}) %}
<div class="bg-accent">
<section class="center group-container">
<h2>
{{ "Recent updates about the committee" | translate("recent-acc-heading", "Recent Acceptable Ads Committee heading") }}
</h2>
- <div class="group group-4">
+ <div class="group group-4 cards">
{% for post in limit_sort(get_pages_metadata({"parent": "blog/index", "committee": "true"}), 4) %}
<div class="card">
<article>
- <h3>{{ post["title"] }}</h3>
- <footer>
+ <h3 class="card-heading">{{ post["title"] }}</h3>
+ <footer class="card-footer">
<a class="btn-outline-primary" href="{{ post["page"] }}">
{{ "Read more" | translate("read-more", "Button text") }}
</a>
</footer>
</article>
</div>
{% endfor %}
</div>
« no previous file with comments | « no previous file | includes/index/aa-products.md » ('j') | includes/solutions/style.html » ('J')

Powered by Google App Engine
This is Rietveld