瀏覽代碼

[捉药师] 样式调整

tangyuanwang 4 天之前
父節點
當前提交
8fb9dc8436
共有 2 個文件被更改,包括 1 次插入2 次删除
  1. 1 1
      components/Container/Container.vue
  2. 0 1
      components/Topic/TopicExam.vue

+ 1 - 1
components/Container/Container.vue

@@ -266,7 +266,7 @@ defineExpose({
 }
 
 .container {
-  display: flex;
+  display: grid;
   flex-direction: column;
   color: #333;
   box-sizing: content-box;

+ 0 - 1
components/Topic/TopicExam.vue

@@ -14,7 +14,6 @@
       class="topic-item"
       :style="{
         width: `${safeArea.width}px`,
-        height: `${safeArea.height}px`,
         flexShrink: 0, // 解决宽度无效问题
       }"
     >