瀏覽代碼

fix #1315 ie style error

jim 7 年之前
父節點
當前提交
4b085757ad
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/layouts/UserLayout.less

+ 2 - 1
src/layouts/UserLayout.less

@@ -3,7 +3,8 @@
 .container {
 .container {
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: column;
-  min-height: 100%;
+  height: 100vh;
+  overflow: auto;
   background: #f0f2f5;
   background: #f0f2f5;
 }
 }