奔跑的面条 3 жил өмнө
parent
commit
a84e922bc6

+ 1 - 1
src/styles/common/animation.scss

@@ -1,5 +1,5 @@
 // 闪烁
-.animation-twinkle {
+.go-animation-twinkle {
   animation: twinkle 2s ease;
   animation-iteration-count: infinite;
   opacity: 1;

+ 7 - 1
src/views/chart/ContentEdit/components/EditShapeBox/index.vue

@@ -74,12 +74,18 @@ const select = computed(() => {
     &.t, 
     &.b {
       width: 30px;
+      transform: translate(-50%, -50%);
     }
     &.l, 
     &.r {
       height: 30px;
     }
-    &.r, 
+    &.r {
+      transform: translate(-20%, -50%);
+    }
+    &.l {
+      transform: translate(-45%, -50%);
+    }
     &.rt, 
     &.rb
     {

+ 10 - 2
src/views/chart/ContentHeader/headerTitle/index.vue

@@ -5,7 +5,11 @@
     </n-icon>
     <n-text @click="handleFocus">
       工作空间 -
-      <n-button v-show="!focus" secondary round size="tiny">{{ comTitle }}</n-button>
+      <n-button v-show="!focus" secondary round size="tiny">
+        <span class="title">
+          {{ comTitle }}
+        </span>
+      </n-button>
     </n-text>
 
     <n-input
@@ -41,7 +45,6 @@ const fetchProhectInfoById = () => {
     return id[0]
   }
   return ''
-
 }
 
 const title = ref<string>(fetchProhectInfoById() || '')
@@ -63,3 +66,8 @@ const handleBlur = () => {
   focus.value = false
 }
 </script>
+<style lang="scss" scoped>
+.title {
+  font-size: 15px;
+}
+</style>

+ 1 - 1
src/views/project/items/components/ProjectItemsCard/index.vue

@@ -35,7 +35,7 @@
             <n-space>
               <n-text>
                 <n-badge
-                  class="animation-twinkle"
+                  class="go-animation-twinkle"
                   dot
                   :color="cardData.release ? '#34c749' : '#fcbc40'"
               ></n-badge>

+ 1 - 1
src/views/project/items/components/ProjectItemsModalCard/index.vue

@@ -43,7 +43,7 @@
           <n-space>
             <n-text>
               <n-badge
-                class="animation-twinkle"
+                class="go-animation-twinkle"
                 dot
                 :color="cardData?.release ? '#34c749' : '#fcbc40'"
              ></n-badge>