Skip to content

Commit 054236f

Browse files
Text trunc wrap fix (#775)
1 parent 3f447d9 commit 054236f

2 files changed

Lines changed: 0 additions & 12 deletions

File tree

docs/src/examples/components/Text/truncate-axis-labels.svelte

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,15 @@
55
66
const data = [
77
{
8-
date: new Date('2026-01-22T05:00:00.000Z'),
98
value: 47,
10-
baseline: 100,
119
label: 'This is 1st really long text'
1210
},
1311
{
14-
date: new Date('2026-01-23T05:00:00.000Z'),
1512
value: 27,
16-
baseline: 20,
1713
label: 'This is 2nd really long text'
1814
},
1915
{
20-
date: new Date('2026-01-24T05:00:00.000Z'),
2116
value: 82,
22-
baseline: 26,
2317
label: 'This is 3rd really long text'
2418
}
2519
];

docs/src/examples/components/Text/word-wrap-axis-labels.svelte

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,15 @@
44
55
const data = [
66
{
7-
date: new Date('2026-01-22T05:00:00.000Z'),
87
value: 67,
9-
baseline: 100,
108
label: 'This is\n1st really\nlong text'
119
},
1210
{
13-
date: new Date('2026-01-23T05:00:00.000Z'),
1411
value: 97,
15-
baseline: 20,
1612
label: 'This is\n2nd really\nlong text'
1713
},
1814
{
19-
date: new Date('2026-01-24T05:00:00.000Z'),
2015
value: 61,
21-
baseline: 26,
2216
label: 'This is\n3rd really\nlong text'
2317
}
2418
];

0 commit comments

Comments
 (0)