fix tag colors order for focused row

fixes https://forums.zotero.org/discussion/comment/510193/#Comment_510193
This commit is contained in:
Ramon Mi 2026-04-10 19:41:15 +08:00
parent 3e04f5e3e7
commit 532c46ab11

View file

@ -104,6 +104,16 @@
transform: scaleX(-1);
flex-direction: row-reverse;
}
// Fix the stacking order reversing issue when selected
.tag-swatch {
position: relative;
@for $i from 1 through 9 {
&:nth-child(#{$i}) {
z-index: 10 - $i;
}
}
}
}
.icon-item-type + .tag-swatch,