0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-03-13 13:29:25 +01:00

Fixes #11669 - Adds smooth modal scrolling on iOS by default

This commit is contained in:
Joah Gerstenberg 2013-12-02 14:56:23 -06:00
parent cc6951fa15
commit 0fcaca86b5

View File

@ -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%);