From 4a3efdc6df25508187a04e58a586ee75be9bf8f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Sun, 10 Sep 2017 15:55:45 +0200 Subject: [PATCH] Add inline style padding 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 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/core/css/apps.scss b/core/css/apps.scss index 9d4c103b9e9..82f20ef4eac 100644 --- a/core/css/apps.scss +++ b/core/css/apps.scss @@ -172,9 +172,13 @@ kbd { width: 16px; margin-left: 2px; } - &[class*='icon-'] { + + /* Add padding if an icon is set with a class or an inline style */ + &[class*='icon-'], + &[style*="background-image:"] { padding-left: 44px; } + /* Counter can also be inside the link */ > .app-navigation-entry-utils { display: inline-block; @@ -357,7 +361,7 @@ kbd { flex: 1 1 0; } button, - input[type='submit'] { + input { width: 36px; height: 38px; }