Fix padding if empty button

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2017-01-11 18:37:59 +01:00
parent c87d48700c
commit dda4b3b272
No known key found for this signature in database
GPG Key ID: FB5ACEED51955BF8
1 changed files with 3 additions and 1 deletions

View File

@ -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 {