Add touch-action to more elements

- Add touch-action: pan-y to .container, .networks, .sidebar, #form
#input
- Add touch-action: none to body
This commit is contained in:
ssstratos 2017-09-14 01:04:03 +03:00
parent 32da456c84
commit 6708261368

View File

@ -44,6 +44,7 @@ body {
-ms-user-select: none;
user-select: none;
cursor: default;
touch-action: none;
/**
* Disable pull-to-refresh on mobile that conflicts with scrolling the message list.
@ -159,6 +160,7 @@ kbd {
.container {
margin: 80px auto;
max-width: 480px;
touch-action: pan-y;
}
::-moz-placeholder {
@ -484,6 +486,7 @@ kbd {
#sidebar .networks {
padding: 20px 30px 0;
touch-action: pan-y;
}
#sidebar .networks:empty {
@ -908,6 +911,7 @@ kbd {
right: 0;
width: 180px;
transition: right 0.4s;
touch-action: pan-y;
}
#chat .show-more {
@ -1574,6 +1578,7 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
-webkit-flex: 1 0 auto;
flex: 1 0 auto;
align-self: center;
touch-action: pan-y;
}
#form #submit {