summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-09-17 17:16:54 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-09-21 14:00:38 +0200
commit05c48daa407c3aa95df3cd1917b59f0bd2134e29 (patch)
treecc316b1cc3eb7306ce06700a1c75f29dcc27ef55
parent11023aa0fea00655d407b0e4d8f9c5f2353838be (diff)
downloadnextcloud-server-05c48daa407c3aa95df3cd1917b59f0bd2134e29.tar.gz
nextcloud-server-05c48daa407c3aa95df3cd1917b59f0bd2134e29.zip
hack first class occurence .pinned
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r--core/css/apps.scss7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss
index 2f71c655ad0..a1723bb818f 100644
--- a/core/css/apps.scss
+++ b/core/css/apps.scss
@@ -111,9 +111,10 @@ kbd {
/* Pinned-to-bottom entries */
&.pinned {
order: 2;
- &:first-child {
- margin-top: auto !important;
- }
+ }
+ /* hack, select first occurence of class */
+ &[class*='pinned']:not(:last-of-type) {
+ margin-top: auto !important;
}
> a,