1
0
Fork 0
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:
Mark Otto 2016-12-24 14:04:11 -08:00 committed by Mark Otto
parent d5784d811b
commit 6b419fdc3a

View file

@ -241,9 +241,9 @@
// Example modals
.bd-example-modal {
background-color: #f5f5f5;
}
.bd-example-modal .modal {
background-color: #fafafa;
.modal {
position: relative;
top: auto;
right: auto;
@ -252,11 +252,13 @@
z-index: 1;
display: block;
}
.bd-example-modal .modal-dialog {
.modal-dialog {
left: auto;
margin-right: auto;
margin-left: auto;
}
}
// Example dropdowns
.bd-example > .dropdown > .dropdown-toggle {