Преглед на файлове

fix #1287 advanced details page is not displayed in IE11

jim преди 8 години
родител
ревизия
24333d5c6d
променени са 2 файла, в които са добавени 4 реда и са изтрити 2 реда
  1. 2 1
      src/components/DescriptionList/index.less
  2. 2 1
      src/components/PageHeader/index.less

+ 2 - 1
src/components/DescriptionList/index.less

@@ -17,7 +17,8 @@
   }
 
   .term {
-    line-height: 22px;
+    // Line-height is 22px IE dom height will calculate error
+    line-height: 20px;
     padding-bottom: 16px;
     margin-right: 8px;
     color: @heading-color;

+ 2 - 1
src/components/PageHeader/index.less

@@ -66,7 +66,8 @@
   .content,
   .extraContent,
   .main {
-    flex: auto;
+    // IE auto is no have height
+    flex: 1;
   }
 
   .title,