Skip to content

Commit 730a63b

Browse files
committed
fix(TooltipList): Align label to top (start) instead of center by default
1 parent 8c8c827 commit 730a63b

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/nine-badgers-teach.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'layerchart': patch
3+
---
4+
5+
fix(TooltipList): Align label to top (start) instead of center by default

packages/layerchart/src/lib/components/tooltip/TooltipList.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
bind:this={ref}
2424
class={cls(
2525
layerClass('tooltip-list'),
26-
'grid grid-cols-[1fr_auto] gap-x-2 gap-y-1 items-center',
26+
'grid grid-cols-[1fr_auto] gap-x-2 gap-y-1 items-start',
2727
className
2828
)}
2929
{...restProps}

0 commit comments

Comments
 (0)