From ebceb70f054c84574179b114871b9179f4617578 Mon Sep 17 00:00:00 2001 From: Iziram Date: Mon, 19 Aug 2024 09:55:07 +0200 Subject: [PATCH] frontend: fix ligne semestre scolar/index.j2 --- app/templates/scolar/index.j2 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/templates/scolar/index.j2 b/app/templates/scolar/index.j2 index f82acbb9b..7038bd839 100644 --- a/app/templates/scolar/index.j2 +++ b/app/templates/scolar/index.j2 @@ -98,6 +98,14 @@ div.effectif { max-width: 1024px; /* Maximum width */ margin: 0 auto 0 0; /* Centers divs if they are narrower than 1024px */ } + +@media screen and (max-width: 768px) { + /*Fix for mobile*/ + .cur-formsemestres { + width: auto; + } +} + .cur-formsemestre { display: flex; align-items: center; @@ -143,6 +151,7 @@ div.effectif { display: flex; flex-direction: column; font-size: 14px; + white-space: nowrap; } .responsable { font-weight: bold;