Skip to content

Commit

Permalink
fixes twbs#11139: add position: relative; to .modal-dialog so that z-…
Browse files Browse the repository at this point in the history
…index takes effect
  • Loading branch information
mdo committed Oct 21, 2013
1 parent 369f5ba commit 5aa4c5c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions dist/css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -5933,6 +5933,7 @@ button.close {
}

.modal-dialog {
position: relative;
z-index: 1050;
width: auto;
padding: 10px;
Expand Down
2 changes: 1 addition & 1 deletion dist/css/bootstrap.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions less/modals.less
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

// Shell div to position the modal with bottom padding
.modal-dialog {
position: relative;
margin-left: auto;
margin-right: auto;
width: auto;
Expand Down

0 comments on commit 5aa4c5c

Please sign in to comment.