From 502cffb1f8d2f476cff682e6aba15f71ee49c3ef Mon Sep 17 00:00:00 2001 From: Ivan Kolodyazhny Date: Wed, 20 Sep 2017 13:39:26 +0000 Subject: [PATCH] Fix logo in IE11/Edge browsers IE11/Edge browsers doesn't scale SVG images correct if weight and height is specified directly in SVG. Also these browsers doesn't work well with max-height style. Change-Id: I3fe643dd5e0d47cb0e5a658c84d23a8750c217e7 Closes-Bug: #1715674 --- openstack_dashboard/static/dashboard/img/logo-splash.svg | 2 +- openstack_dashboard/static/dashboard/img/logo.svg | 2 +- .../static/dashboard/scss/components/_navbar.scss | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openstack_dashboard/static/dashboard/img/logo-splash.svg b/openstack_dashboard/static/dashboard/img/logo-splash.svg index 70c6c51cec..a461668556 100644 --- a/openstack_dashboard/static/dashboard/img/logo-splash.svg +++ b/openstack_dashboard/static/dashboard/img/logo-splash.svg @@ -1,5 +1,5 @@ - + diff --git a/openstack_dashboard/static/dashboard/img/logo.svg b/openstack_dashboard/static/dashboard/img/logo.svg index 004fc0232c..b67fdcc736 100644 --- a/openstack_dashboard/static/dashboard/img/logo.svg +++ b/openstack_dashboard/static/dashboard/img/logo.svg @@ -1,5 +1,5 @@ - + diff --git a/openstack_dashboard/static/dashboard/scss/components/_navbar.scss b/openstack_dashboard/static/dashboard/scss/components/_navbar.scss index a8825e4d5a..54b966ad69 100755 --- a/openstack_dashboard/static/dashboard/scss/components/_navbar.scss +++ b/openstack_dashboard/static/dashboard/scss/components/_navbar.scss @@ -5,7 +5,7 @@ img { display: inline-block; - max-height: $navbar-height - $padding-small-vertical*2; + height: $navbar-height - $padding-small-vertical*2; vertical-align: middle; } }