소스 검색

fix: 修复index.html加载文字偏移的问题 (#3306)

xachary 1 년 전
부모
커밋
c715d35ad5
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      index.html

+ 5 - 0
index.html

@@ -14,6 +14,11 @@
   <body>
     <div id="app">
       <style>
+        html {
+          /* same as ant-design-vue/dist/reset.css setting, avoid the title line-height changed */
+          line-height: 1.15;
+        }
+
         html[data-theme='dark'] .app-loading {
           background-color: #2c344a;
         }