Bläddra i källkod

左侧组件栏固定直角

Shinohara Haruna 5 månader sedan
förälder
incheckning
3206d95abe
1 ändrade filer med 6 tillägg och 3 borttagningar
  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,
       width: 200,
       height: 40,
-      depth: getMaxDepth() + 1
+      depth: getMaxDepth() + 1,
+      borderRadius: 0
     };
     editorContent.value.elements.push(newText);
     nextTick(() => selectComponent(newText));
@@ -578,7 +579,8 @@ function onCanvasDrop(e: DragEvent) {
       y: y,
       width: 300,
       height: 40,
-      depth: getMaxDepth() + 1
+      depth: getMaxDepth() + 1,
+      borderRadius: 0
     };
     editorContent.value.elements.push(newScrollingText);
     nextTick(() => selectComponent(newScrollingText));
@@ -775,6 +777,7 @@ const goBack = () => {
   margin-bottom: 18px;
   cursor: pointer;
   width: 90%;
+  border-radius: 0 !important;
 }
 
 .sidebar-icon {
@@ -793,7 +796,7 @@ const goBack = () => {
   justify-content: center;
   font-weight: bold;
   font-size: 22px;
-  border-radius: 6px;
+  border-radius: 0 !important;
   margin-bottom: 4px;
 }