Skip to content

Commit

Permalink
Change the remaining 'card' classes to 'Box' to support the primer up…
Browse files Browse the repository at this point in the history
…grade to 7.0
  • Loading branch information
Damon Maneice committed Feb 1, 2019
1 parent c739336 commit 86d2666
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _layouts/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h1 class="h0-mktg lh-condensed text-center mb-3">{{ page.title }}</h1>
<p class="lead text-center text-gray col-md-8 mx-auto mb-4 position-relative">{{ page.description }}</p>
{% if page.lang == "en" %}
<nav class="toc mb-4 mb-md-6">
<div class="card col-sm-8 col-md-4 col-lg-3 mx-auto">
<div class="Box col-sm-8 col-md-4 col-lg-3 mx-auto">
<a class="toc-trigger d-block text-center p-3">
<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>
</a>
Expand Down Expand Up @@ -49,7 +49,7 @@ <h2 class="h2-mktg">{{ t.article.related_guides }}</h2>
{% for related in page.related %}
{% assign article = site.articles | where: 'lang', page.lang | where: 'class', related | first %}
<div class="col-12 col-sm-9 mx-auto col-md-6 mt-4 mt-lg-5">
<a href="{{ article.url | relative_url }}" class="guide-cover {{ article.class }} card height-full d-block">
<a href="{{ article.url | relative_url }}" class="guide-cover {{ article.class }} Box height-full d-block">

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

0 comments on commit 86d2666

Please sign in to comment.