diff --git a/assets/scss/_component-examples.scss b/assets/scss/_component-examples.scss index 84dc457810..4424d3a17a 100644 --- a/assets/scss/_component-examples.scss +++ b/assets/scss/_component-examples.scss @@ -285,6 +285,19 @@ } } +.modal.show { + z-index: 1072; + + .tooltip, .popover { + z-index: 1073; + } +} + +.modal-backdrop { + z-index: 1071; +} + + // Example tabbable tabs .bd-example-tabs .nav-tabs { margin-bottom: 1rem; diff --git a/docs/4.0/components/modal.md b/docs/4.0/components/modal.md index 913f81eb0d..25891bf40d 100644 --- a/docs/4.0/components/modal.md +++ b/docs/4.0/components/modal.md @@ -226,10 +226,10 @@ When modals become too long for the user's viewport or device, they scroll indep