Skip to content

Commit

Permalink
Follow up to twbs#20982 to fix css for modals
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Oct 27, 2016
1 parent bcbbc8e commit a0599a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scss/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
transition: transform .3s ease-out;
transform: translate(0, -25%);
}
&.in .modal-dialog { transform: translate(0, 0); }
&.active .modal-dialog { transform: translate(0, 0); }
}
.modal-open .modal {
overflow-x: hidden;
Expand Down Expand Up @@ -69,7 +69,7 @@

// Fade for backdrop
&.fade { opacity: 0; }
&.in { opacity: $modal-backdrop-opacity; }
&.active { opacity: $modal-backdrop-opacity; }
}

// Modal header
Expand Down

0 comments on commit a0599a2

Please sign in to comment.