From aba30503ae6d7248d33cee7bc768ee81fd6481db Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Tue, 30 Jun 2015 02:33:51 -0300 Subject: [PATCH] Fixed modals when dragging to left (iOS) --- public/index.html | 2 +- src/css/mobile.css | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index f00b0d837..88cbd56cb 100644 --- a/public/index.html +++ b/public/index.html @@ -3,7 +3,7 @@ - + diff --git a/src/css/mobile.css b/src/css/mobile.css index 5c4897131..8b0538674 100644 --- a/src/css/mobile.css +++ b/src/css/mobile.css @@ -567,6 +567,12 @@ to prevent collapsing during animation*/ top: 45px; padding-bottom: 33px; -webkit-transform: translate3d(0,0,0); + background: #fff; +} + +body.modal-open { + position: fixed; + overflow: hidden; } .reveal-modal { @@ -574,6 +580,7 @@ to prevent collapsing during animation*/ border: none; border-radius: 0; outline: 0; + box-shadow: none; } .reveal-modal.animated.slideInRight,