2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03: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
+17 -15
View File
@@ -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