瀏覽代碼

use 100vh instead of 100% (#790)

陈帅 8 年之前
父節點
當前提交
9691ce3bce
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/components/GlobalHeader/index.less

+ 1 - 0
src/components/GlobalHeader/index.less

@@ -9,6 +9,7 @@
 
 
 :global {
 :global {
   .ant-layout {
   .ant-layout {
+    min-height: 100vh;
     overflow-x: hidden;
     overflow-x: hidden;
   }
   }
 }
 }