Amélioration de la mise en page
This commit is contained in:
parent
e34edc2e7c
commit
d0aae68dd5
@ -1267,6 +1267,12 @@ article {
|
||||
max-width: 42em;
|
||||
}
|
||||
}
|
||||
.no-image {
|
||||
grid-template-columns: 30% auto;
|
||||
.description>div {
|
||||
max-width: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
{% load event_extra %}
|
||||
{% load tag_extra %}
|
||||
|
||||
<article id="event-{{ event.pk}}" class="single-event">
|
||||
<article id="event-{{ event.pk}}" class="single-event {% if not event.image and not event.local_image %}no-image{% endif %}">
|
||||
<header class="head">
|
||||
{% if day != 0 %}
|
||||
{% if event|can_show_start_time:day %}
|
||||
|
@ -21,7 +21,7 @@
|
||||
{% if tags %}
|
||||
|
||||
{% for tag in tags %}
|
||||
<article class="tag-description">
|
||||
<article class="tag-description no-image">
|
||||
<header><a href="{% url 'view_tag' tag.name %}" role="button" class="small-cat">{{ tag.name }}</a></header>
|
||||
<div>
|
||||
{{ tag.description|safe }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user