aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoah Gerstenberg <[email protected]>2013-12-02 14:56:23 -0600
committerJoah Gerstenberg <[email protected]>2013-12-02 14:56:23 -0600
commit0fcaca86b57bf3a4fa2c8f709e90499c92e0db73 (patch)
treed58e76ab2fa91333d020f5b1de8cabb25416a013
parentcc6951fa15ab990b5d90edd7acc9f1bbf2f16875 (diff)
downloadbootstrap-0fcaca86b57bf3a4fa2c8f709e90499c92e0db73.tar.xz
bootstrap-0fcaca86b57bf3a4fa2c8f709e90499c92e0db73.zip
Fixes #11669 - Adds smooth modal scrolling on iOS by default
-rw-r--r--less/modals.less3
1 files changed, 2 insertions, 1 deletions
diff --git a/less/modals.less b/less/modals.less
index e65dbf7f1..bfb80c282 100644
--- a/less/modals.less
+++ b/less/modals.less
@@ -23,7 +23,8 @@
bottom: 0;
left: 0;
z-index: @zindex-modal-background;
-
+ -webkit-overflow-scrolling: touch;
+
// When fading in the modal, animate it to slide down
&.fade .modal-dialog {
.translate(0, -25%);