fix de quelques rendus

This commit is contained in:
Jean-Marie Favreau 2023-11-06 08:29:51 +01:00
parent 5fe6ee17e5
commit c30640e137
2 changed files with 17 additions and 16 deletions

View File

@ -153,18 +153,25 @@ footer {
clear: both; clear: both;
} }
.infos-and-buttons {
display: flex;
flex-direction: row;
align-items: stretch;
}
.infos-and-buttons .infos {
flex: 50;
}
.infos-and-buttons .buttons { @media only screen and (min-width: 992px) {
flex: auto;
.infos-and-buttons {
display: flex;
flex-direction: row;
align-items: stretch;
}
.infos-and-buttons .infos {
flex: 50;
}
.infos-and-buttons .buttons {
flex: auto;
}
} }
article.day { article.day {

View File

@ -3,12 +3,6 @@
{% load utils_extra %} {% load utils_extra %}
{% load event_extra %} {% load event_extra %}
{% comment %}
TODO:
* utiliser flex plutôt que float pour l'image et pour la date
* gérer le flex des boutons dans le cas de petits écrans
{% endcomment %}
<article> <article>
{% if display in "in list by day" %} {% if display in "in list by day" %}
{% if display == "in list by day" and event|can_show_start_time %} {% if display == "in list by day" and event|can_show_start_time %}