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:
parent
cc6951fa15
commit
0fcaca86b5
@ -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%);
|
||||
|
Loading…
x
Reference in New Issue
Block a user