diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-11-04 15:36:45 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-11-04 15:36:45 +0100 |
commit | 22458465dac228bc9bdcf3d36fb8b138651ef616 (patch) | |
tree | 69b2446abcef966548af0346bcab444158cd1539 | |
parent | c152f80b93ff6d1443ca375197112cb496e77bdc (diff) | |
download | nextcloud-server-22458465dac228bc9bdcf3d36fb8b138651ef616.tar.gz nextcloud-server-22458465dac228bc9bdcf3d36fb8b138651ef616.zip |
Fix popover icon size
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r-- | core/css/apps.scss | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss index c68bc488d2c..9ab609b06e1 100644 --- a/core/css/apps.scss +++ b/core/css/apps.scss @@ -841,20 +841,23 @@ kbd { /* Override the app-navigation li opacity */ opacity: .7 !important; [class^='icon-'], + [class*=' icon-'], + &[class^='icon-'], + &[class*=' icon-'] { + min-width: 0; /* Overwrite icons*/ + min-height: 0; + background-position: 10px center; + background-size: 16px; + } + [class^='icon-'], [class*=' icon-'] { /* Keep padding to define the width to assure correct position of a possible text */ padding: 18px 0 18px 36px; - min-width: 0; /* Overwrite icons*/ - min-height: 0; - background-position: 10px center; } &[class^='icon-'], &[class*=' icon-'] { padding: 0 10px 0 36px !important; - min-width: 0; /* Overwrite icons*/ - min-height: 0; - background-position: 10px center; } &:hover, &:focus, &.active { opacity: 1 !important; |