Explorar o código

fix: 修复因高度间距不足而导致悬浮按钮被遮挡问题

Jinyao %!s(int64=5) %!d(string=hai) anos
pai
achega
92c59ce4b5
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/components/TreeNode.vue

+ 2 - 2
src/components/TreeNode.vue

@@ -54,7 +54,7 @@ export default {
   computed: {
     containerStyle() {
       return {
-        top: `${this.positionY * 140}px`,
+        top: `${this.positionY * 180}px`,
         left: `${280 * this.positionX - 100}px`,
         width: `${this.nodeStyle.width + this.nodeStyle.padding * 2}px`,
         height: `${this.nodeStyle.height + this.nodeStyle.padding * 2}px`,
@@ -101,7 +101,7 @@ export default {
   user-select: none;
   & .node-postfix {
     position: absolute;
-    bottom: 0px;
+    bottom: 10px;
     right: 25px;
     width: 100%;
     display: none;