hack first class occurence .pinned
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
11023aa0fe
commit
05c48daa40
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue