瀏覽代碼

fix(markup): Исправлена верстка меню

horanchikk 11 月之前
父節點
當前提交
16dd8531fd
共有 1 個文件被更改,包括 7 次插入2 次删除
  1. 7 2
      components/Base/Header.vue

+ 7 - 2
components/Base/Header.vue

@@ -1,6 +1,6 @@
 <template>
   <header
-    class="w-full flex justify-between gap-5 bg-background-100 p-3 animate__animated animate__fadeInDown animate__faster"
+    class="w-full flex justify-between gap-5 bg-background-100 p-3 animate__animated animate__fadeInDown animate__faster z-10"
   >
     <ISandwich
       class="w-8 h-8 hover:opacity-50 cursor-pointer duration-150"
@@ -18,7 +18,7 @@
 
     <div
       v-if="showMenu"
-      class="absolute top-0 left-0 w-screen h-screen bg-transparent z-50"
+      class="fixed top-0 left-0 w-screen h-screen bg-transparent"
     >
       <div
         class="w-full h-full flex justify-end items-start"
@@ -77,5 +77,10 @@ const menu = [
     icon: 'bug-report',
     action: () => debug.show(),
   },
+  {
+    name: 'Debug',
+    icon: 'bug-report',
+    action: () => debug.show(),
+  },
 ]
 </script>