Skip to content

Commit d8a381e

Browse files
mayankjain25PuruVJ
andauthored
docs: Updated button width in documentation/reactivity (#8897)
* Updated button width in documentation/reactivity Fixed button width in order to avoid the changing width of the button in the result when the text changes from 'time' to 'times' * Made style changes as per the guidelines * Replicated changes made in app-a to app-b * Update App.svelte * Update App.svelte --------- Co-authored-by: Puru Vijay <[email protected]>
1 parent d4a1b54 commit d8a381e

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

documentation/tutorial/02-reactivity/01-reactive-assignments/app-a/App.svelte

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,9 @@
1010
Clicked {count}
1111
{count === 1 ? 'time' : 'times'}
1212
</button>
13+
14+
<style>
15+
button {
16+
width:200px;
17+
}
18+
</style>

documentation/tutorial/02-reactivity/01-reactive-assignments/app-b/App.svelte

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,9 @@
1010
Clicked {count}
1111
{count === 1 ? 'time' : 'times'}
1212
</button>
13+
14+
<style>
15+
button {
16+
width:200px;
17+
}
18+
</style>

0 commit comments

Comments
 (0)