From 750b8ce6ea440caa8776ca53dfc800a64894bb21 Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Fri, 30 Dec 2022 17:10:32 +0000 Subject: [PATCH] Issue #3309316 by longwave: Remove IE11 support from Umami --- core/profiles/demo_umami/themes/umami/css/base.css | 2 +- .../themes/umami/css/components/blocks/banner/banner.css | 1 - .../themes/umami/css/components/content/card/card.css | 5 ----- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/core/profiles/demo_umami/themes/umami/css/base.css b/core/profiles/demo_umami/themes/umami/css/base.css index 32f675429bc9..85606b48e174 100644 --- a/core/profiles/demo_umami/themes/umami/css/base.css +++ b/core/profiles/demo_umami/themes/umami/css/base.css @@ -63,7 +63,7 @@ html { outline-width: 1px; outline-style: dotted; outline-color: #008068; - outline-offset: 2px; /* Not supported in IE11 but greatly improves outline visibility in newer browsers. */ + outline-offset: 2px; } a { diff --git a/core/profiles/demo_umami/themes/umami/css/components/blocks/banner/banner.css b/core/profiles/demo_umami/themes/umami/css/components/blocks/banner/banner.css index 5db46b2cbbc3..c8d5db01f6c1 100644 --- a/core/profiles/demo_umami/themes/umami/css/components/blocks/banner/banner.css +++ b/core/profiles/demo_umami/themes/umami/css/components/blocks/banner/banner.css @@ -62,7 +62,6 @@ display: flex; align-items: center; max-width: 1200px; - height: 0; /* Required for flexbox vertical centering in IE11. Min-height will take precedence. */ min-height: 54vw; margin: 0 auto; padding: 0 4%; diff --git a/core/profiles/demo_umami/themes/umami/css/components/content/card/card.css b/core/profiles/demo_umami/themes/umami/css/components/content/card/card.css index e4eedba91942..824e88274ca6 100644 --- a/core/profiles/demo_umami/themes/umami/css/components/content/card/card.css +++ b/core/profiles/demo_umami/themes/umami/css/components/content/card/card.css @@ -34,11 +34,6 @@ color: #000; } -/* Need to fix IE11 cards height issue */ -.view-mode-card .node__content { - flex-shrink: 0; -} - .view-mode-card .field--name-field-media-image img { display: block; width: 100%; -- GitLab