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;