Move speaker image classes

This commit is contained in:
Oliver Davies 2019-05-29 19:21:16 +01:00
parent acd08b0cab
commit 623b73bdd0

View file

@ -7,8 +7,8 @@
{% if page.image or page.links.twitter or page.links.drupalorg %} {% if page.image or page.links.twitter or page.links.drupalorg %}
<div class="tw-px-4 tw-flex-0 tw-w-32 md:tw-w-48 tw-mb-4"> <div class="tw-px-4 tw-flex-0 tw-w-32 md:tw-w-48 tw-mb-4">
{% if page.image %} {% if page.image %}
<div class="tw-rounded-full tw-overflow-hidden tw-border-4 tw-border-solid tw-border-purple-500 tw-mb-4"> <div class="tw-mb-4">
<img class="tw-max-w-full tw-block" src="/images/speakers/{{ page.image }}" alt="{{ page.name }}"> <img class="tw-max-w-full tw-block tw-rounded-full tw-overflow-hidden tw-border-4 tw-border-solid tw-border-purple-500" src="/images/speakers/{{ page.image }}" alt="{{ page.name }}">
</div> </div>
{% endif %} {% endif %}