mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
fixes #11139: add position: relative; to .modal-dialog so that z-index takes effect
This commit is contained in:
Vendored
+1
@@ -5933,6 +5933,7 @@ button.close {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.modal-dialog {
|
.modal-dialog {
|
||||||
|
position: relative;
|
||||||
z-index: 1050;
|
z-index: 1050;
|
||||||
width: auto;
|
width: auto;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -34,6 +34,7 @@
|
|||||||
|
|
||||||
// Shell div to position the modal with bottom padding
|
// Shell div to position the modal with bottom padding
|
||||||
.modal-dialog {
|
.modal-dialog {
|
||||||
|
position: relative;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
width: auto;
|
width: auto;
|
||||||
|
|||||||
Reference in New Issue
Block a user