Add padding below sponsors

This commit is contained in:
Oliver Davies 2019-05-30 19:22:46 +01:00
parent 47242b9785
commit f74e60328a

View file

@ -13,9 +13,9 @@ title: Sponsors
<section class="tw-block tw-mb-12">
<h2 class="tw-mb-6">{{ level ~ ' Sponsors'|capitalize }}</h2>
<div class="{{ level == 'gold' ? '' : 'tw-flex tw-flex-wrap tw--mx-2' }}">
<div class="tw--mb-8 {{ level == 'gold' ? '' : 'tw-flex tw-flex-wrap tw--mx-2' }}">
{% for sponsor in sponsors %}
<article class="{{ level == 'gold' ? 'tw-w-full' : 'tw-w-1/2 md:tw-w-1/4 lg:tw-w-1/6 tw-px-2 tw-mb-6' }}">
<article class="tw-mb-8 {{ level == 'gold' ? 'tw-w-full' : 'tw-w-1/2 md:tw-w-1/4 lg:tw-w-1/6 tw-px-2' }}">
{% set template = (level == 'gold') ? 'sponsors/full' : 'sponsors/teaser' %}
{% include template with {
description: sponsor.description,