mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
nest modal examples css
This commit is contained in:
parent
d5784d811b
commit
6b419fdc3a
1 changed files with 17 additions and 15 deletions
|
@ -241,21 +241,23 @@
|
||||||
|
|
||||||
// Example modals
|
// Example modals
|
||||||
.bd-example-modal {
|
.bd-example-modal {
|
||||||
background-color: #f5f5f5;
|
background-color: #fafafa;
|
||||||
}
|
|
||||||
.bd-example-modal .modal {
|
.modal {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: auto;
|
top: auto;
|
||||||
right: auto;
|
right: auto;
|
||||||
bottom: auto;
|
bottom: auto;
|
||||||
left: auto;
|
left: auto;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
.bd-example-modal .modal-dialog {
|
|
||||||
left: auto;
|
.modal-dialog {
|
||||||
margin-right: auto;
|
left: auto;
|
||||||
margin-left: auto;
|
margin-right: auto;
|
||||||
|
margin-left: auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Example dropdowns
|
// Example dropdowns
|
||||||
|
|
Loading…
Reference in a new issue