Fix photo position

This commit is contained in:
Oliver Davies 2020-07-16 20:52:37 +01:00
parent ef500b5fd7
commit 533095d87f

View file

@ -9,7 +9,7 @@
sm:mt-0 sm:flex-row sm:space-y-0 sm:space-x-8
"
>
<div class="mt-4 sm:mt-0">
<div class="mt-4 flex-1 sm:mt-0">
<div class="text-gray-700">
{{ content.field_role }}
</div>
@ -20,7 +20,7 @@
</div>
{% if content.field_photo %}
<div class="photo ml-auto flex-shrink-0 flex justify-center">
<div class="photo flex-shrink-0 flex justify-center">
{{ content.field_photo }}
</div>
{% endif %}