소스 검색

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

Olivier Massot 1 년 전
부모
커밋
78a136f15b
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  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 {