mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-02 18:02:37 +02:00
Tweak modal transform (#27005)
This commit is contained in:
committed by
XhmikosR
parent
c0b40745e0
commit
57661dff6d
@@ -43,10 +43,10 @@
|
||||
// When fading in the modal, animate it to slide down
|
||||
.modal.fade & {
|
||||
@include transition($modal-transition);
|
||||
transform: translate(0, -25%);
|
||||
transform: $modal-fade-transform;
|
||||
}
|
||||
.modal.show & {
|
||||
transform: translate(0, 0);
|
||||
transform: $modal-show-transform;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user