minor fixes

This commit is contained in:
Yves Gatesoupe 2020-07-16 17:40:16 +02:00
parent 90cd7873dd
commit f6d4639ca3
3 changed files with 4 additions and 11 deletions

View File

@ -4,7 +4,7 @@
<div class="news-list__inner"> <div class="news-list__inner">
<h2 class="[ news-list__heading ]">{{ newsListHeading }}</h2> <h2 class="[ news-list__heading ]">{{ newsListHeading }}</h2>
{% include "partials/components/posts-list.njk" %} {% include "partials/components/posts-list.njk" %}
<a href="/posts" class="news-list__see-all">Voir tout</a> <a href="/posts" class="return-link">Voir tout</a>
</div> </div>
</div> </div>
</section> </section>

View File

@ -2,7 +2,7 @@
margin-bottom: 8rem; margin-bottom: 8rem;
&__heading { &__heading {
margin: 8rem 0 2rem; margin: 8rem 0 4rem;
} }
&__items { &__items {

View File

@ -1,4 +1,6 @@
.news-list { .news-list {
margin-bottom: 8rem;
.wrapper { .wrapper {
position: relative; position: relative;
} }
@ -60,15 +62,6 @@
text-decoration: underline; text-decoration: underline;
} }
} }
&__see-all {
font-size: 1.125rem;
font-weight: 700;
line-height: 1;
align-self: flex-end;
margin-top: 3rem;
padding: .875rem 1.5rem;
}
} }
.home .news-list { .home .news-list {