From b64bcab2ecb6433ba525d6d6f88bb6ddbea300cf Mon Sep 17 00:00:00 2001
From: Giorgio UTZERI <giorgio.utzeri.etu@univ-lille.fr>
Date: Sat, 15 Mar 2025 14:31:20 +0100
Subject: [PATCH] test responsive

---
 css/styleMenu.css | 24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

diff --git a/css/styleMenu.css b/css/styleMenu.css
index 136c7ce..da87023 100644
--- a/css/styleMenu.css
+++ b/css/styleMenu.css
@@ -145,24 +145,22 @@ body {
 }
 
 @media (max-width: 991px) {
-    /* Lorsque la sidebar est fermée, on conserve une largeur par défaut (ici 250px) */
     #sidebar {
-        width: 250px;
-        height: 100%;
+        width: 250px !important;
+        height: 100% !important;
         transition: width 0.3s ease;
     }
-    /* Quand la sidebar est ouverte (classe "show" ajoutée par Bootstrap), elle occupe toute la fenêtre */
     #sidebar.show {
-        width: 100vw;
-        height: 100vh;
-        position: fixed;
-        top: 0;
-        left: 0;
-        padding-top: 50px; /* Laisser de l'espace sous le bouton hamburger si nécessaire */
-        z-index: 1050;
+        width: 100vw !important;
+        height: 100vh !important;
+        position: fixed !important;
+        top: 0 !important;
+        left: 0 !important;
+        padding-top: 50px !important;
+        z-index: 1050 !important;
     }
-    /* Optionnel : masquer le contenu principal quand la sidebar est affichée */
     .main-content {
-        display: none;
+        display: none !important;
     }
 }
+
-- 
GitLab