Browse Source

fix style

Michael Wang 3 năm trước cách đây
mục cha
commit
f9e8f18310
1 tập tin đã thay đổi với 2 bổ sung8 xóa
  1. 2 8
      src/features/OnlineExam/OnlineExamList.vue

+ 2 - 8
src/features/OnlineExam/OnlineExamList.vue

@@ -185,13 +185,7 @@ async function raceEnter(course: OnlineExam) {
           </td>
           <td>{{ course.allowExamCount }}</td>
           <td style="min-width: 180px">
-            <div
-              style="
-                display: grid;
-                grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
-                grid-gap: 10px;
-              "
-            >
+            <div class="tw-flex tw-flex-col" style="max-width: 200px">
               <n-button
                 v-if="selectExamState == 'EXAMING'"
                 type="success"
@@ -202,7 +196,7 @@ async function raceEnter(course: OnlineExam) {
                 进入考试
                 {{ buttonCountDown > 0 ? `(${buttonCountDown}s)` : "" }}
               </n-button>
-              <div></div>
+              <div class="tw-mt-3" />
               <n-popover trigger="hover" placement="left-start" :delay="300">
                 <template #trigger>
                   <n-button :disabled="!course.isObjScoreView" type="success">