diff options
author | Andrew Dolgov <[email protected]> | 2017-02-25 00:58:53 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-02-25 00:58:53 +0300 |
commit | 03a29c67bc0824fba0d800cfa9c09b47df2d2042 (patch) | |
tree | 56b2232a8a4f4e62e5f510ce5338661ae97f0947 | |
parent | 23857daefe0032dedcd3cd4ab72a5b433dc72545 (diff) |
enlarge some margins and tap zones
-rw-r--r-- | css/read.css | 6 | ||||
-rw-r--r-- | js/read.js | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/css/read.css b/css/read.css index 2aed428..9152feb 100644 --- a/css/read.css +++ b/css/read.css @@ -58,11 +58,11 @@ position : absolute; top : 32px; bottom : 32px; - left : 64px; - right : 64px; + left : 96px; + right : 96px; } -@media (max-width: 992px) { +@media (max-width: 767px) { #reader { left : 32px; right : 32px; @@ -35,9 +35,9 @@ function init_taps() { function(event) { if (event.button == 0) { var doc = document.documentElement; - var margin_x = 45; - var margin_y_top = 40; - var margin_y_bottom = 60; + var margin_x = 64; + var margin_y_top = 48; + var margin_y_bottom = 48; //console.log(event.clientY + " " + doc.clientHeight); |