You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the button is causing mobile screen users to have a horizontal scroll, I've fixed it giving it a max-height.
This removes the horizontal scroll that the button was causing on the entire page for mobile readers.
Copy file name to clipboardExpand all lines: 2-ui/1-document/11-coordinates/article.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ Additionally, there are derived properties:
36
36
```online
37
37
For instance click this button to see its window coordinates:
38
38
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>
0 commit comments