diff --git a/src/agenda_culturel/static/style.scss b/src/agenda_culturel/static/style.scss index 352fe37..afe4ecd 100644 --- a/src/agenda_culturel/static/style.scss +++ b/src/agenda_culturel/static/style.scss @@ -165,7 +165,7 @@ details[role="list"] summary + ul li.selected>a:hover { } } -#filters .clear { +.clear { clear: both; } @@ -1215,19 +1215,18 @@ article { column-count: 4; } .single-event { - .head { - float: left; - width: 30%; - margin-right: 1em; - } - .description { - float: left; - width: calc(70% - 16em); - max-width: 42em; - margin-bottom: 1em; + display: grid; + grid-template-columns: 30% auto 14em; + grid-column-gap: 1em; + + header { + margin: 0; } .illustration { - width: 14em; + width: auto; + } + .description>div { + max-width: 42em; } } } diff --git a/src/agenda_culturel/templates/agenda_culturel/single-event/event-in-upcoming-inc.html b/src/agenda_culturel/templates/agenda_culturel/single-event/event-in-upcoming-inc.html index d765e35..5025422 100644 --- a/src/agenda_culturel/templates/agenda_culturel/single-event/event-in-upcoming-inc.html +++ b/src/agenda_culturel/templates/agenda_culturel/single-event/event-in-upcoming-inc.html @@ -5,12 +5,7 @@ {% load tag_extra %}
- {% if event.image or event.local_image %} -
- {{ event.image_alt }} -
- {% endif %} -
+
{% if event|can_show_start_time:day %} {% if event.start_time %}
@@ -47,13 +42,11 @@ {% include "agenda_culturel/date-times-inc.html" with event=event %}

{% endif %} -
- -
-

{{ event.description |linebreaks2 | truncatewords:60 }}

-
- - + + +
+ {% if event.image or event.local_image %} + {{ event.image_alt }} + {% endif %} +
+