Prechádzať zdrojové kódy

improve deleteion confirmation dialog appearance

Olivier Massot 8 mesiacov pred
rodič
commit
fca06dede7
1 zmenil súbory, kde vykonal 6 pridanie a 7 odobranie
  1. 6 7
      components/Layout/Dialog.vue

+ 6 - 7
components/Layout/Dialog.vue

@@ -13,7 +13,7 @@
           theme
         "
       >
-        <h3 class="d-flex">
+        <h3 :class="'d-flex theme-' + theme">
           <v-icon icon="fa-solid fa-bullhorn" />
           <slot name="dialogType" />
         </h3>
@@ -67,7 +67,7 @@ const _show = computed(() => props.show) as boolean
 
 <style lang="scss" scoped>
 .dialog-title {
-  padding-left: 40px;
+  padding-left: 16px;
   font-weight: normal;
 }
 
@@ -79,17 +79,16 @@ const _show = computed(() => props.show) as boolean
   padding: 25px 10px;
 
   h3 {
-    font-size: 25px;
     font-weight: normal;
     writing-mode: vertical-lr;
-    transform: rotate(-180deg);
+    display: flex;
+    flex-direction: column;
+    align-items: center;
+    justify-content: center;
   }
 
   .v-icon {
     font-size: 25px;
-    transform: rotate(90deg);
-    padding-right: 20px;
-    padding-bottom: 10px;
   }
 }