Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit fa120a5

Browse files
committed
chore: Put demo back to original state.
1 parent 84fee8f commit fa120a5

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

demo/src/App.svelte

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,17 @@
1313

1414
<window bind:this={win} windowTitle="Hello World">
1515
<view id="container" style="background-color: '#41444A';">
16-
<scrollArea id="scroll">
17-
<text style="background-color: lime;">Some text with actual children.
18-
This text is a bit long so that we can test if scrollArea works correctly :-).
19-
</text>
20-
</scrollArea>
16+
<text style="color: white;">Some text with actual children</text>
2117
<button on:clicked={(checked) => console.log("Clicked!", checked)} id="nice_button" text="Press me"/>
2218
</view>
2319
</window>
2420

2521
<style>
2622
#container {
27-
flex-direction: column;
23+
align-items: 'center';
24+
justify-content: 'space-around';
2825
}
2926
#nice_button {
3027
font-weight: 900;
3128
}
32-
#scroll{
33-
width: "100%";
34-
flex: 1;
35-
}
3629
</style>

0 commit comments

Comments
 (0)