mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-18 13:30:23 +00:00
Fixes #11669 - Adds smooth modal scrolling on iOS by default
This commit is contained in:
parent
cc6951fa15
commit
0fcaca86b5
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Reference in a new issue