Add inline style padding

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2017-09-10 15:55:45 +02:00
parent 82986bab1b
commit 4a3efdc6df
No known key found for this signature in database
GPG Key ID: FB5ACEED51955BF8
1 changed files with 6 additions and 2 deletions

View File

@ -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;
}