Skip to content

Commit

Permalink
docs: Updated button width in documentation/reactivity (#8897)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
mayankjain25 and PuruVJ authored Jul 3, 2023
1 parent d4a1b54 commit d8a381e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,9 @@
Clicked {count}
{count === 1 ? 'time' : 'times'}
</button>

<style>
button {
width:200px;
}
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,9 @@
Clicked {count}
{count === 1 ? 'time' : 'times'}
</button>

<style>
button {
width:200px;
}
</style>

0 comments on commit d8a381e

Please sign in to comment.