Skip to content

Commit

Permalink
Add inline style padding
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Sep 10, 2017
1 parent 2509689 commit fabe262
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions core/css/apps.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -357,7 +361,7 @@ kbd {
flex: 1 1 0;
}
button,
input[type='submit'] {
input {
width: 36px;
height: 38px;
}
Expand Down

0 comments on commit fabe262

Please sign in to comment.