Fix layout on talks archive

This commit is contained in:
Oliver Davies 2017-06-18 19:54:05 +01:00
parent a5a82c04ff
commit bb7a95f928
2 changed files with 20 additions and 10 deletions

View file

@ -9,3 +9,7 @@
.flex
flex: 1
@each $value in 'block' 'inline' 'inline-block'
.display-#{$value}
display: #{$value}

View file

@ -12,7 +12,9 @@
{% for event in events %}
<tr>
<td class="column-date">
<div class="event-date display-block">
{{ event.date|date('j F Y') }}
</div>
{% if event.time %}
<small class="talk-type">
@ -23,6 +25,7 @@
{% if not hide_talk %}
<td>
<div class="display-block">
{% if not event.talk.hide_page %}
<a href="{{ event.talk.url }}">
{{ event.talk.title }}
@ -30,6 +33,7 @@
{% else %}
{{ event.talk.title }}
{% endif %}
</div>
{% if event.talk.type %}
<small class="talk-type">
@ -40,9 +44,11 @@
{% endif %}
<td class="column-event">
<div class="display-block">
{% if event.url %}<a href="{{ event.url }}">{% endif %}
{{ event.title }}
{% if event.url %}</a>{% endif %}
</div>
{% if event.location %}
<small class="event-location">