fix(collections): name a hidden label's class without a leading space prettier strips

This commit is contained in:
Maurice
2026-11-05 13:10:15 +01:00
parent fbafa270c4
commit 82c6a3cd5f
@@ -126,7 +126,7 @@ export default function CollectionPlaceTags({
{labels.map((l, i) => (
<ChipTooltip key={l.id} label={l.name}>
<span
className={`col-lrow-label${i < shown ? '' : ' is-over'}`}
className={i < shown ? 'col-lrow-label' : 'col-lrow-label is-over'}
style={{ ['--label' as string]: l.color || 'var(--accent)' }}
aria-hidden={i < shown ? undefined : true}
>