Skip to content

Commit d764bdc

Browse files
committed
fix multiline example
1 parent 30bab90 commit d764bdc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

site/src/App.svelte

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,17 +105,17 @@
105105
</section>
106106
{/each}
107107

108-
<section style="width:min-content;margin-left:auto;margin-right:auto">
108+
<section style="margin-left:auto;margin-right:auto;max-width:10ch">
109109
<Annotation
110110
bind:this={simpleAnnotations.multiline}
111111
visible={showSimple}
112+
multiline={true}
112113
{strokeWidth}
113114
{iterations}
114-
color="red"
115-
type="box">
116-
<p>This is some</p>
117-
<p>Multiline text</p>
118-
115+
padding={1}
116+
color="lightgreen"
117+
type="highlight">
118+
This is a long wrapping multiline bit of text.
119119
</Annotation>
120120
</section>
121121

0 commit comments

Comments
 (0)