2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00

fixes #11139: add position: relative; to .modal-dialog so that z-index takes effect

This commit is contained in:
Mark Otto
2013-10-20 20:04:10 -07:00
parent 369f5ba760
commit 5aa4c5cb0c
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -5933,6 +5933,7 @@ button.close {
}
.modal-dialog {
position: relative;
z-index: 1050;
width: auto;
padding: 10px;
+1 -1
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -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;