From e1a5ea31cd2b23597a25c47bddf1c05bff1b0b5f Mon Sep 17 00:00:00 2001 From: Iziram Date: Tue, 20 Aug 2024 14:50:36 +0200 Subject: [PATCH] fix responsive calendriers --- .../assiduites/pages/calendrier_assi_etud.j2 | 24 +++++++------------ app/templates/calendrier.j2 | 3 ++- app/templates/choix_date.j2 | 2 +- 3 files changed, 12 insertions(+), 17 deletions(-) diff --git a/app/templates/assiduites/pages/calendrier_assi_etud.j2 b/app/templates/assiduites/pages/calendrier_assi_etud.j2 index 33275ba1..f5610ad7 100644 --- a/app/templates/assiduites/pages/calendrier_assi_etud.j2 +++ b/app/templates/assiduites/pages/calendrier_assi_etud.j2 @@ -15,12 +15,15 @@ Calendrier de l'assiduité

Assiduité de {{sco.etud.html_link_fiche()|safe}}

- - - + + +
@@ -86,15 +89,6 @@ Calendrier de l'assiduité max-width: var(--sco-content-max-width); } - .calendrier { - display: flex; - justify-content: center; - overflow-x: scroll; - border: 1px solid #444; - border-radius: 12px; - margin-bottom: 12px; - } - .assi_case { display: flex; width: 100%; diff --git a/app/templates/calendrier.j2 b/app/templates/calendrier.j2 index 7bfc803f..d457b504 100644 --- a/app/templates/calendrier.j2 +++ b/app/templates/calendrier.j2 @@ -21,11 +21,12 @@ {% endblock %}