mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-11 13:53:09 +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,6 +23,7 @@
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
z-index: @zindex-modal-background;
|
z-index: @zindex-modal-background;
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
|
|
||||||
// When fading in the modal, animate it to slide down
|
// When fading in the modal, animate it to slide down
|
||||||
&.fade .modal-dialog {
|
&.fade .modal-dialog {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue