Przeglądaj źródła

use 100vh instead of 100% (#790)

陈帅 8 lat temu
rodzic
commit
9691ce3bce
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/components/GlobalHeader/index.less

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

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