Просмотр исходного кода

fix #1287 advanced details page is not displayed in IE11

jim 7 лет назад
Родитель
Сommit
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,