diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-09-10 15:55:45 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-09-21 14:00:33 +0200 |
commit | 4a3efdc6df25508187a04e58a586ee75be9bf8f7 (patch) | |
tree | 1c3b5e97b9a71641ef2af085f727128eab5dca7a /core | |
parent | 82986bab1bf6cb1f00ab53adcea5a4d05d0346a5 (diff) | |
download | nextcloud-server-4a3efdc6df25508187a04e58a586ee75be9bf8f7.tar.gz nextcloud-server-4a3efdc6df25508187a04e58a586ee75be9bf8f7.zip |
Add inline style padding
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/css/apps.scss | 8 |
1 files 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; } |