Explorar el Código

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

yz hace 1 mes
padre
commit
f4b5724cc0
Se han modificado 1 ficheros con 5 adiciones y 2 borrados
  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;
             }
           }