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'
pull/8897/head
Mayank Jain 3 years ago committed by GitHub
parent b9328a5077
commit 0cacb6d689
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,7 +5,11 @@
// event handler code goes here // event handler code goes here
} }
</script> </script>
<style>
button{
width:200px;
}
</style>
<button> <button>
Clicked {count} Clicked {count}
{count === 1 ? 'time' : 'times'} {count === 1 ? 'time' : 'times'}

Loading…
Cancel
Save