From 6b419fdc3ae61aab93d6ca8535330bb594790336 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 24 Dec 2016 14:04:11 -0800 Subject: [PATCH] nest modal examples css --- docs/assets/scss/_component-examples.scss | 32 ++++++++++++----------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/docs/assets/scss/_component-examples.scss b/docs/assets/scss/_component-examples.scss index c13218f0f1..f08726484f 100644 --- a/docs/assets/scss/_component-examples.scss +++ b/docs/assets/scss/_component-examples.scss @@ -241,21 +241,23 @@ // Example modals .bd-example-modal { - background-color: #f5f5f5; -} -.bd-example-modal .modal { - position: relative; - top: auto; - right: auto; - bottom: auto; - left: auto; - z-index: 1; - display: block; -} -.bd-example-modal .modal-dialog { - left: auto; - margin-right: auto; - margin-left: auto; + background-color: #fafafa; + + .modal { + position: relative; + top: auto; + right: auto; + bottom: auto; + left: auto; + z-index: 1; + display: block; + } + + .modal-dialog { + left: auto; + margin-right: auto; + margin-left: auto; + } } // Example dropdowns