From dda4b3b27244bef4244e928f327bc673dccf535e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Wed, 11 Jan 2017 18:37:59 +0100 Subject: [PATCH] Fix padding if empty button 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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/css/apps.scss b/core/css/apps.scss index 9fea39d5204..b0e8f834322 100644 --- a/core/css/apps.scss +++ b/core/css/apps.scss @@ -615,7 +615,8 @@ em { align-items: center; width: auto; height: auto; - padding: 0 !important; + margin: 0; + font-weight: inherit; /* prevent .action class to break the design */ &.action { padding: inherit !important; @@ -641,6 +642,7 @@ em { } /* Add padding if contains icon+text */ &:not(:empty) { + padding: 0 !important; padding-right: 10px !important; } > img {