From 1d3a9a692df4d76840677ce828195fe2d6fefa3a Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Mon, 10 Jul 2017 12:54:24 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20fix=20non-square=20icon=20sizes?= =?UTF-8?q?=20(#778)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes https://github.com/TryGhost/Ghost/issues/8665 - updates width/height for non-square icons to match the desired dimensions (width+height have to be specified for IE11) Changes introduced in #724 failed to take into account a few of our icons are not square (notably the `arrow-*-small.svg` icons) resulting in some icons appearing too small. --- ghost/admin/app/styles/components/power-select.css | 2 +- ghost/admin/app/styles/patterns/forms.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ghost/admin/app/styles/components/power-select.css b/ghost/admin/app/styles/components/power-select.css index 328df58eca..93c4369caa 100644 --- a/ghost/admin/app/styles/components/power-select.css +++ b/ghost/admin/app/styles/components/power-select.css @@ -7,7 +7,7 @@ .ember-power-select-trigger svg { height: 4px; - width: 4px; + width: 6.11px; margin-left: 2px; vertical-align: middle; } diff --git a/ghost/admin/app/styles/patterns/forms.css b/ghost/admin/app/styles/patterns/forms.css index 6b46e0250f..67975db33a 100644 --- a/ghost/admin/app/styles/patterns/forms.css +++ b/ghost/admin/app/styles/patterns/forms.css @@ -290,7 +290,7 @@ textarea { .gh-select svg { height: 8px; - width: 8px; + width: 14px; position: absolute; top: 50%; right: 1.2rem;