Fix talk table column widths

This commit is contained in:
Oliver Davies 2019-01-02 23:12:55 +00:00
parent 90b277a885
commit 91f19d8597

View file

@ -2,23 +2,16 @@
<table class="table"> <table class="table">
<thead> <thead>
<tr> <tr>
<th class="w-40 md:w-48 block">Date</th> <th class="w-1/5">Date</th>
{% if not talk_page %}<th class="w-1/3">Talk</th>{% endif %}
{% if not talk_page %}
<th>Talk</th>
{% endif %}
<th>Event</th> <th>Event</th>
{% if not upcoming %}<th class="w-1/6">Feedback</th>{% endif %}
{% if not upcoming %}
<th class="w-32">Feedback</th>
{% endif %}
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{% for talk in talks %} {% for talk in talks %}
<tr> <tr>
<td class="w-40 md:w-48 whitespace-no-wrap xl:whitespace-normal"> <td>
<span class="block md:hidden"> <span class="block md:hidden">
{{ talk.event.date|date(talk.event.fuzzy_date ? 'M Y' : 'j M Y') }} {{ talk.event.date|date(talk.event.fuzzy_date ? 'M Y' : 'j M Y') }}
</span> </span>
@ -53,7 +46,7 @@
</td> </td>
{% endif %} {% endif %}
<td> <td class="whitespace-no-wrap xl:whitespace-normal">
{% if talk.event.url is not empty %} {% if talk.event.url is not empty %}
<a href="{{ talk.event.url }}" class="link"> <a href="{{ talk.event.url }}" class="link">
{{ talk.event.name }} {{ talk.event.name }}