Skip to content

Commit d906956

Browse files
authored
Merge pull request #3334 from marcusicaro/patch-1
Update button to fix horizontal scroll on mobile
2 parents a4e9ba5 + f489288 commit d906956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2-ui/1-document/11-coordinates/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Additionally, there are derived properties:
3636
```online
3737
For instance click this button to see its window coordinates:
3838
39-
<p><input id="brTest" type="button" value="Get coordinates using button.getBoundingClientRect() for this button" onclick='showRect(this)'/></p>
39+
<p><input id="brTest" type="button" style="max-width: 90vw;" value="Get coordinates using button.getBoundingClientRect() for this button" onclick='showRect(this)'/></p>
4040
4141
<script>
4242
function showRect(elem) {

0 commit comments

Comments
 (0)