hack first class occurence .pinned

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2017-09-17 17:16:54 +02:00
parent 11023aa0fe
commit 05c48daa40
No known key found for this signature in database
GPG Key ID: FB5ACEED51955BF8
1 changed files with 4 additions and 3 deletions

View File

@ -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,