From 24333d5c6dbf622653d76d53fcf41f1df1bf8457 Mon Sep 17 00:00:00 2001 From: jim Date: Wed, 25 Apr 2018 20:58:28 +0800 Subject: [PATCH] fix #1287 advanced details page is not displayed in IE11 --- src/components/DescriptionList/index.less | 3 ++- src/components/PageHeader/index.less | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/DescriptionList/index.less b/src/components/DescriptionList/index.less index ebffa55f..bcb6fd1d 100644 --- a/src/components/DescriptionList/index.less +++ b/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; diff --git a/src/components/PageHeader/index.less b/src/components/PageHeader/index.less index ae0fddc3..2a8c9a6a 100644 --- a/src/components/PageHeader/index.less +++ b/src/components/PageHeader/index.less @@ -66,7 +66,8 @@ .content, .extraContent, .main { - flex: auto; + // IE auto is no have height + flex: 1; } .title, -- GitLab