Ver código fonte

[捉药师] 样式调整

tangyuanwang 4 dias atrás
pai
commit
8fb9dc8436

+ 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, // 解决宽度无效问题
       }"
     >