diff options
author | Mark Otto <markd.otto@gmail.com> | 2022-04-19 21:21:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-19 21:21:43 +0300 |
commit | e089aef00fef68c6a815327d8b988e14cfcf4d9b (patch) | |
tree | 12b55f0088354b7be006fe9f3934e291fab08d07 /site/content/docs/5.1/components/modal.md | |
parent | 9ec51f449904bae076b2334e748559706182f046 (diff) |
Refactor some docs examples CSS (#36194)
* Fix some more borders and margins
* Flex utilities docs: remove .bd-highlight class from snippets
* Explicit close target
* Reorder to keep base class up top
* Fix custom position example
* Tooltips: add code snippet, use scss-docs ref for custom tooltip
* Tweak text for pagination examples
* Modals: move custom styles to utilities
* Grid docs: Combine selectors and share coloring
* Refactor tons of little things
Diffstat (limited to 'site/content/docs/5.1/components/modal.md')
-rw-r--r-- | site/content/docs/5.1/components/modal.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/site/content/docs/5.1/components/modal.md b/site/content/docs/5.1/components/modal.md index a33f7e615d..d9bd120d46 100644 --- a/site/content/docs/5.1/components/modal.md +++ b/site/content/docs/5.1/components/modal.md @@ -38,8 +38,8 @@ Keep reading for demos and usage guidelines. Below is a _static_ modal example (meaning its `position` and `display` have been overridden). Included are the modal header, modal body (required for `padding`), and modal footer (optional). We ask that you include modal headers with dismiss actions whenever possible, or provide another explicit dismiss action. -<div class="bd-example bd-example-modal"> - <div class="modal" tabindex="-1"> +<div class="bd-example bg-light"> + <div class="modal position-static d-block" tabindex="-1"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> |