Fix body overscroll and overflow on iOS Safari

In order to prevent scrolling past the edges of the body (overscroll)
in Safari on iOS, the overflow must be hidden (not only overflow-y).
This commit is contained in:
Steven Engler 2020-03-23 15:15:30 -04:00 committed by GitHub
parent beac893dd0
commit 39e70670b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,7 +104,7 @@ body {
* Disable pull-to-refresh on mobile that conflicts with scrolling the message list.
* See http://stackoverflow.com/a/29313685/1935861
*/
overflow-y: hidden;
overflow: hidden; /* iOS Safari requires overflow rather than overflow-y */
}
a,