aboutsummaryrefslogtreecommitdiff
path: root/less/modals.less
diff options
context:
space:
mode:
Diffstat (limited to 'less/modals.less')
-rw-r--r--less/modals.less8
1 files changed, 4 insertions, 4 deletions
diff --git a/less/modals.less b/less/modals.less
index 52c1b0df8..8b7349cef 100644
--- a/less/modals.less
+++ b/less/modals.less
@@ -25,11 +25,11 @@
z-index: @zindex-modal-background;
// When fading in the modal, animate it to slide down
- &.fade {
- top: -25%;
- .transition(~"opacity 0.3s linear, top 0.3s ease-out");
+ &.fade .modal-dialog {
+ .translate(0, -25%);
+ .transition-transform(~"0.3s ease-out");
}
- &.fade.in { top: 0; }
+ &.fade.in .modal-dialog { .translate(0, 0)}
}
// Shell div to position the modal with bottom padding