Browse Source

Fix the IE style exception

jim 7 years atrás
parent
commit
95dbbf9f6c
1 changed files with 5 additions and 3 deletions
  1. 5 3
      src/components/PageHeader/index.less

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

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