From b8fa3ed83698594f31c7083db4536ce9e892cd63 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sun, 9 Sep 2018 13:04:39 +0200 Subject: [PATCH] Elastic: Fix logo image in IE11 --- skins/elastic/styles/widgets/taskmenu.less | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/skins/elastic/styles/widgets/taskmenu.less b/skins/elastic/styles/widgets/taskmenu.less index 7d8fe3869..0cb1dd52b 100644 --- a/skins/elastic/styles/widgets/taskmenu.less +++ b/skins/elastic/styles/widgets/taskmenu.less @@ -168,14 +168,14 @@ .menu { .popover-header { height: @layout-header-height; - display: flex !important; - align-items: center; - justify-content: center; + line-height: @layout-header-height; border: 0; border-radius: 0; + text-align: center; img { max-height: @layout-header-height; + max-width: @layout-menu-width; padding: .25rem; @media screen and (min-width: (@screen-width-xs + 1px)) and (max-width: @screen-width-medium) { @@ -193,6 +193,9 @@ } html.layout-phone & { + display: flex !important; + align-items: center; + justify-content: center; padding: 0 .5rem; img {