Browse Source

左侧组件栏固定直角

Shinohara Haruna 5 months ago
parent
commit
3206d95abe
1 changed files with 6 additions and 3 deletions
  1. 6 3
      smsb-plus-ui/src/views/smsb/itemProgram/EditProgram.vue

+ 6 - 3
smsb-plus-ui/src/views/smsb/itemProgram/EditProgram.vue

@@ -561,7 +561,8 @@ function onCanvasDrop(e: DragEvent) {
       y: y,
       y: y,
       width: 200,
       width: 200,
       height: 40,
       height: 40,
-      depth: getMaxDepth() + 1
+      depth: getMaxDepth() + 1,
+      borderRadius: 0
     };
     };
     editorContent.value.elements.push(newText);
     editorContent.value.elements.push(newText);
     nextTick(() => selectComponent(newText));
     nextTick(() => selectComponent(newText));
@@ -578,7 +579,8 @@ function onCanvasDrop(e: DragEvent) {
       y: y,
       y: y,
       width: 300,
       width: 300,
       height: 40,
       height: 40,
-      depth: getMaxDepth() + 1
+      depth: getMaxDepth() + 1,
+      borderRadius: 0
     };
     };
     editorContent.value.elements.push(newScrollingText);
     editorContent.value.elements.push(newScrollingText);
     nextTick(() => selectComponent(newScrollingText));
     nextTick(() => selectComponent(newScrollingText));
@@ -775,6 +777,7 @@ const goBack = () => {
   margin-bottom: 18px;
   margin-bottom: 18px;
   cursor: pointer;
   cursor: pointer;
   width: 90%;
   width: 90%;
+  border-radius: 0 !important;
 }
 }
 
 
 .sidebar-icon {
 .sidebar-icon {
@@ -793,7 +796,7 @@ const goBack = () => {
   justify-content: center;
   justify-content: center;
   font-weight: bold;
   font-weight: bold;
   font-size: 22px;
   font-size: 22px;
-  border-radius: 6px;
+  border-radius: 0 !important;
   margin-bottom: 4px;
   margin-bottom: 4px;
 }
 }