From 52d4559917ae65a26632d2ddc73f2c44652de263 Mon Sep 17 00:00:00 2001 From: Sam Clarke Date: Mon, 6 Nov 2017 20:28:14 +0000 Subject: [PATCH] Fix svg icons in IE & Edge --- src/lib/browser.js | 2 +- src/themes/inc/defaultbase.less | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/browser.js b/src/lib/browser.js index 9c3198889..8e15f6133 100644 --- a/src/lib/browser.js +++ b/src/lib/browser.js @@ -123,7 +123,7 @@ export var isWysiwygSupported = (function () { isUnsupported = false; } - // IE <= 8 is not supported any more + // IE <= 9 is not supported any more if (ie <= 9) { isUnsupported = true; } diff --git a/src/themes/inc/defaultbase.less b/src/themes/inc/defaultbase.less index 8700f94b3..9fe3dddb6 100644 --- a/src/themes/inc/defaultbase.less +++ b/src/themes/inc/defaultbase.less @@ -360,6 +360,8 @@ div.sceditor-dropdown div { margin: 2px 0; fill: #111; pointer-events: none; + // IE & Edge inherit line height so reset it + line-height: 1; } .sceditor-button.disabled svg {