mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Follow up to #20982 to fix css for modals
This commit is contained in:
parent
bcbbc8eeda
commit
a0599a245d
@ -31,7 +31,7 @@
|
|||||||
transition: transform .3s ease-out;
|
transition: transform .3s ease-out;
|
||||||
transform: translate(0, -25%);
|
transform: translate(0, -25%);
|
||||||
}
|
}
|
||||||
&.in .modal-dialog { transform: translate(0, 0); }
|
&.active .modal-dialog { transform: translate(0, 0); }
|
||||||
}
|
}
|
||||||
.modal-open .modal {
|
.modal-open .modal {
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
@ -69,7 +69,7 @@
|
|||||||
|
|
||||||
// Fade for backdrop
|
// Fade for backdrop
|
||||||
&.fade { opacity: 0; }
|
&.fade { opacity: 0; }
|
||||||
&.in { opacity: $modal-backdrop-opacity; }
|
&.active { opacity: $modal-backdrop-opacity; }
|
||||||
}
|
}
|
||||||
|
|
||||||
// Modal header
|
// Modal header
|
||||||
|
Loading…
x
Reference in New Issue
Block a user