mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-21 19:40:34 +00:00
fix(collections): name a hidden label's class without a leading space prettier strips
This commit is contained in:
@@ -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}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user