浏览代码

fix style

Michael Wang 3 年之前
父节点
当前提交
934b09b6a7
共有 2 个文件被更改,包括 5 次插入1 次删除
  1. 1 1
      src/features/mark/MarkProblemDialog.vue
  2. 4 0
      src/features/mark/MarkSwitchGroupDialog.vue

+ 1 - 1
src/features/mark/MarkProblemDialog.vue

@@ -12,7 +12,7 @@
     </template>
     <table class="group-table">
       <tr>
-        <th>问题类型</th>
+        <th class="tw-text-left">问题类型</th>
         <th class="tw-text-right" style="padding-right: 20px">操作</th>
       </tr>
       <tr v-for="(problem, index) in store.setting.problemTypes" :key="index">

+ 4 - 0
src/features/mark/MarkSwitchGroupDialog.vue

@@ -104,6 +104,10 @@ defineExpose({ showModal });
   border-spacing: 0 0.5em;
 }
 
+.group-table th {
+  text-align: left;
+}
+
 .current-group {
   background-color: #f2f7ff;
 }