浏览代码

fix style

Michael Wang 3 年之前
父节点
当前提交
ee52f17959
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 1 1
      src/features/OnlineExam/Examing/ExamingHome.vue
  2. 2 0
      src/features/OnlineExam/Examing/QuestionView.vue

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

@@ -323,7 +323,7 @@ addInterval(() => checkRemoteApp(), 3 * 60 * 1000);
 
 @media screen and (max-width: 960px) {
   .header {
-    overflow-x: scroll;
+    overflow-x: auto;
   }
 }
 </style>

+ 2 - 0
src/features/OnlineExam/Examing/QuestionView.vue

@@ -163,6 +163,8 @@ function toggleSign() {
 
 .question-header {
   display: flex;
+  /* 标题过长,会撑开高度 */
+  flex-shrink: 0;
   align-items: center;
 }