Forráskód Böngészése

fix cookie consent dialog z-index and width on sm screen

Olivier Massot 1 éve
szülő
commit
78a136f15b
1 módosított fájl, 5 hozzáadás és 1 törlés
  1. 5 1
      components/Common/CookiesConsent.vue

+ 5 - 1
components/Common/CookiesConsent.vue

@@ -449,13 +449,17 @@ onMounted(() => {
   bottom: 10px;
   left: 15px;
   max-width: 550px;
-  z-index: 1000 !important;
+  z-index: 10000 !important;
   display: flex;
   flex-direction: column;
   align-items: center;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
   border-radius: 15px;
   padding: 20px;
+
+  @media (max-width: 600px) {
+    max-width: 90%;
+  }
 }
 
 .cookie-image {