瀏覽代碼

fix 答题板竖向滚动条让满10个小题的过早换行

Michael Wang 3 年之前
父節點
當前提交
7017f2a40d

+ 2 - 2
src/features/OnlineExam/Examing/ExamingHome.vue

@@ -220,8 +220,8 @@ addInterval(() => checkRemoteApp(), 3 * 60 * 1000);
       <QuestionView />
       <ArrowNavView />
     </div>
-    <div :class="['side']">
-      <div :class="['question-nav']">
+    <div class="side">
+      <div class="question-nav">
         <QuestionNavView />
       </div>
       <div v-if="store.exam.faceCheckEnabled" class="camera">

+ 1 - 2
src/features/OnlineExam/Examing/QuestionNavView.vue

@@ -68,7 +68,7 @@ function sectionQuestions(section: number) {
 </script>
 
 <template>
-  <div style="padding-bottom: 10px">
+  <div style="padding-bottom: 10px; margin-left: 20px">
     <div
       v-for="(struct, section) in store.exam.paperStruct.defaultPaper
         .questionGroupList"
@@ -111,7 +111,6 @@ function sectionQuestions(section: number) {
   display: grid;
   align-items: flex-start;
   justify-items: flex-start;
-  margin: 0 20px;
   margin-bottom: 20px;
 }
 .title {