summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-09-17 18:12:15 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-09-21 14:00:38 +0200
commit3ff60c3af87075d01a860d1daaacca6741c1ab95 (patch)
treee137094047e524b37a22a8b9c50e4f11e9d6761a /core
parent231e475a7ba7d3baa970dd4a243c4e7e0ff349a3 (diff)
downloadnextcloud-server-3ff60c3af87075d01a860d1daaacca6741c1ab95.tar.gz
nextcloud-server-3ff60c3af87075d01a860d1daaacca6741c1ab95.zip
create special class forst first pinned class occurrence
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core')
-rw-r--r--core/css/apps.scss7
1 files changed, 3 insertions, 4 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss
index a1723bb818f..461ddbb5065 100644
--- a/core/css/apps.scss
+++ b/core/css/apps.scss
@@ -111,10 +111,9 @@ kbd {
/* Pinned-to-bottom entries */
&.pinned {
order: 2;
- }
- /* hack, select first occurence of class */
- &[class*='pinned']:not(:last-of-type) {
- margin-top: auto !important;
+ &.first-pinned {
+ margin-top: auto !important;
+ }
}
> a,