aboutsummaryrefslogtreecommitdiff
path: root/docs/components/modal.md
diff options
context:
space:
mode:
authorQuy <[email protected]>2017-01-05 14:24:40 -0800
committerMark Otto <[email protected]>2017-01-05 14:24:40 -0800
commit98e55484e73aeac37fedd9cc260f4b16f9c04698 (patch)
treef72c4ef000997d8919aa6f8672b9b122c7cda9cf /docs/components/modal.md
parent85a1fdcb29dd27803f2229d671a5e6b578d7f37e (diff)
downloadbootstrap-98e55484e73aeac37fedd9cc260f4b16f9c04698.tar.xz
bootstrap-98e55484e73aeac37fedd9cc260f4b16f9c04698.zip
Doc updates (#21542)
* Change it's to its. * Fix links * Fix typos
Diffstat (limited to 'docs/components/modal.md')
-rw-r--r--docs/components/modal.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/components/modal.md b/docs/components/modal.md
index 5ace1ac58..d61151f8f 100644
--- a/docs/components/modal.md
+++ b/docs/components/modal.md
@@ -19,7 +19,7 @@ Before getting started with Bootstrap's modal component, be sure to read the fol
- Modals are built with HTML, CSS, and JavaScript. They're positioned over everything else in the document and remove scroll from the `<body>` so that modal content scrolls instead.
- Clicking on the modal "backdrop" will automatically close the modal.
- Bootstrap only supports one modal window at a time. Nested modals aren't supported as we believe them to be poor user experiences.
-- Modal's use `position: fixed`, which can sometimes be a bit particular about it's rendering. Whenever possible, place your modal HTML in a top-level position to avoid potential interference from other elements. You'll likely run into issues when nesting a `.modal` within another fixed element.
+- Modals use `position: fixed`, which can sometimes be a bit particular about its rendering. Whenever possible, place your modal HTML in a top-level position to avoid potential interference from other elements. You'll likely run into issues when nesting a `.modal` within another fixed element.
- One again, due to `position: fixed`, there are some caveats with using modals on mobile devices. [See our browser support docs]({{ site.baseurl }}/getting-started/browsers-devices/#modals-and-dropdowns-on-mobile) for details.
- Lastly, the `autofocus` HTML attribute has no affect in modals. Here's how you can achieve the same effect with custom JavaScript.