浏览代码

Fix the IE style exception

jim 7 年之前
父节点
当前提交
95dbbf9f6c
共有 1 个文件被更改,包括 5 次插入3 次删除
  1. 5 3
      src/components/PageHeader/index.less

+ 5 - 3
src/components/PageHeader/index.less

@@ -11,6 +11,7 @@
 
   .row {
     display: flex;
+    width: 100%;
   }
 
   .breadcrumb {
@@ -66,10 +67,11 @@
   .content,
   .extraContent,
   .main {
-    // IE auto is no have height
-    flex: 1;
+    flex: 0 1 auto;
+  }
+  .main {
+    width: 100%;
   }
-
   .title,
   .action {
     margin-bottom: 16px;