From a358a81132fa26739747aacf868af1767daf4c28 Mon Sep 17 00:00:00 2001 From: davidcanonieto Date: Mon, 29 Oct 2018 14:44:47 +0000 Subject: [PATCH] [ADF-3655] Fix layout issue on IE 11 (#3924) --- .../widgets/date-time/date-time.widget.scss | 9 +++++++++ .../form/components/widgets/date/date.widget.scss | 9 +++++++++ lib/core/form/components/widgets/form.scss | 12 ++++++++++++ 3 files changed, 30 insertions(+) diff --git a/lib/core/form/components/widgets/date-time/date-time.widget.scss b/lib/core/form/components/widgets/date-time/date-time.widget.scss index 5ab1e17a15..eb0e252e1f 100644 --- a/lib/core/form/components/widgets/date-time/date-time.widget.scss +++ b/lib/core/form/components/widgets/date-time/date-time.widget.scss @@ -13,5 +13,14 @@ } + /* query for Microsoft IE 11*/ + @media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) { + &-date-widget { + .mat-form-field-suffix { + position: relative; + } + } + } + } diff --git a/lib/core/form/components/widgets/date/date.widget.scss b/lib/core/form/components/widgets/date/date.widget.scss index 3bd307e69d..8c68d433b1 100644 --- a/lib/core/form/components/widgets/date/date.widget.scss +++ b/lib/core/form/components/widgets/date/date.widget.scss @@ -31,4 +31,13 @@ } } + /* query for Microsoft IE 11*/ + @media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) { + &-date-widget { + .mat-form-field-suffix { + position: relative; + } + } + } + } diff --git a/lib/core/form/components/widgets/form.scss b/lib/core/form/components/widgets/form.scss index c2259918a0..edf35e5a9d 100644 --- a/lib/core/form/components/widgets/form.scss +++ b/lib/core/form/components/widgets/form.scss @@ -64,4 +64,16 @@ } } + + /* query for Microsoft IE 11*/ + @media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) { + adf-form-field { + .mat-input-element, .mat-select, .mat-form-field { + display: block !important; + } + } + } + + + }