瀏覽代碼

style(survey-question-editor): 调整问题编辑器样式对齐和间距

yz 1 月之前
父節點
當前提交
f4b5724cc0
共有 1 個文件被更改,包括 5 次插入2 次删除
  1. 5 2
      src/components/survey-question-editor/index.scss

+ 5 - 2
src/components/survey-question-editor/index.scss

@@ -24,13 +24,13 @@
         .question-header {
           display: flex;
           justify-content: space-between;
-          align-items: flex-start;
           margin-bottom: 12px;
+          align-items: center;
           
           .question-info {
             flex: 1;
             display: flex;
-            align-items: center;
+            align-items: baseline;
             flex-wrap: wrap;
             gap: 8px;
             
@@ -38,6 +38,7 @@
               font-weight: 600;
               color: #409eff;
               font-size: 16px;
+              line-height: 1.5;
             }
             
             .question-title {
@@ -50,6 +51,7 @@
             }
             
             .question-type-tag {
+              line-height: 1.5;
               i {
                 margin-right: 4px;
               }
@@ -57,6 +59,7 @@
             
             .required-tag {
               font-size: 12px;
+              line-height: 1.5;
             }
           }