From 05c48daa407c3aa95df3cd1917b59f0bd2134e29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Sun, 17 Sep 2017 17:16:54 +0200 Subject: [PATCH] hack first class occurence .pinned MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- core/css/apps.scss | 7 ++++--- 1 file 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,