Browse Source

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

xachary 1 year ago
parent
commit
c715d35ad5
1 changed files with 5 additions and 0 deletions
  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;
         }