Explorar o código

fix: modal style

Ahmad Kholid %!s(int64=2) %!d(string=hai) anos
pai
achega
999b999b18
Modificáronse 2 ficheiros con 2 adicións e 1 borrados
  1. 1 1
      src/components/block/BlockBase.vue
  2. 1 0
      src/components/ui/UiModal.vue

+ 1 - 1
src/components/block/BlockBase.vue

@@ -8,7 +8,7 @@
         <p
           title="Block id (click to copy)"
           class="block-menu text-overflow inline-block px-1 dark:text-gray-300"
-          style="max-width: 96px"
+          style="max-width: 96px; margin-bottom: 0"
           @click="insertToClipboard"
         >
           {{ isCopied ? '✅ Copied' : blockId }}

+ 1 - 0
src/components/ui/UiModal.vue

@@ -13,6 +13,7 @@
         >
           <div
             class="absolute h-full w-full bg-black bg-opacity-20 dark:bg-opacity-60"
+            style="z-index: -2"
             @click="closeModal"
           />
           <slot v-if="customContent"></slot>