Skip to content

Commit 86d2666

Browse files
author
Damon Maneice
committed
Change the remaining 'card' classes to 'Box' to support the primer upgrade to 7.0
1 parent c739336 commit 86d2666

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_layouts/article.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ <h1 class="h0-mktg lh-condensed text-center mb-3">{{ page.title }}</h1>
1111
<p class="lead text-center text-gray col-md-8 mx-auto mb-4 position-relative">{{ page.description }}</p>
1212
{% if page.lang == "en" %}
1313
<nav class="toc mb-4 mb-md-6">
14-
<div class="card col-sm-8 col-md-4 col-lg-3 mx-auto">
14+
<div class="Box col-sm-8 col-md-4 col-lg-3 mx-auto">
1515
<a class="toc-trigger d-block text-center p-3">
1616
<span class="text-black">{{ t.article.table_of_contents }}</span><svg height="18" class="octicon octicon-triangle-down ml-2 fill-blue v-align-middle icon-flip" viewBox="0 0 12 16" version="1.1" width="13" role="img"><path fill-rule="evenodd" d="M0 5l6 6 6-6z"></path></svg>
1717
</a>
@@ -49,7 +49,7 @@ <h2 class="h2-mktg">{{ t.article.related_guides }}</h2>
4949
{% for related in page.related %}
5050
{% assign article = site.articles | where: 'lang', page.lang | where: 'class', related | first %}
5151
<div class="col-12 col-sm-9 mx-auto col-md-6 mt-4 mt-lg-5">
52-
<a href="{{ article.url | relative_url }}" class="guide-cover {{ article.class }} card height-full d-block">
52+
<a href="{{ article.url | relative_url }}" class="guide-cover {{ article.class }} Box height-full d-block">
5353

5454
<div class="lh-none guide-cover-img text-center pt-4">
5555
<img src="{{ site.baseurl }}/assets/images/illos/{{ article.class }}.svg" class="" alt="{{ article.title }} illustration">

0 commit comments

Comments
 (0)