From 22458465dac228bc9bdcf3d36fb8b138651ef616 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Sat, 4 Nov 2017 15:36:45 +0100 Subject: [PATCH] Fix popover icon size MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- core/css/apps.scss | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/core/css/apps.scss b/core/css/apps.scss index c68bc488d2c..9ab609b06e1 100644 --- a/core/css/apps.scss +++ b/core/css/apps.scss @@ -841,20 +841,23 @@ kbd { /* Override the app-navigation li opacity */ opacity: .7 !important; [class^='icon-'], + [class*=' icon-'], + &[class^='icon-'], + &[class*=' icon-'] { + min-width: 0; /* Overwrite icons*/ + min-height: 0; + background-position: 10px center; + background-size: 16px; + } + [class^='icon-'], [class*=' icon-'] { /* Keep padding to define the width to assure correct position of a possible text */ padding: 18px 0 18px 36px; - min-width: 0; /* Overwrite icons*/ - min-height: 0; - background-position: 10px center; } &[class^='icon-'], &[class*=' icon-'] { padding: 0 10px 0 36px !important; - min-width: 0; /* Overwrite icons*/ - min-height: 0; - background-position: 10px center; } &:hover, &:focus, &.active { opacity: 1 !important;