aboutsummaryrefslogtreecommitdiff
path: root/docs/components
diff options
context:
space:
mode:
Diffstat (limited to 'docs/components')
-rw-r--r--docs/components/forms.md2
-rw-r--r--docs/components/modal.md2
-rw-r--r--docs/components/utilities.md5
3 files changed, 5 insertions, 4 deletions
diff --git a/docs/components/forms.md b/docs/components/forms.md
index fed3ba399..134bd88c1 100644
--- a/docs/components/forms.md
+++ b/docs/components/forms.md
@@ -639,7 +639,7 @@ Bootstrap includes validation styles for danger, warning, and success states on
- To use, add `.has-warning`, `.has-danger`, or `.has-success` to the parent element. Any `.form-control-label`, `.form-control`, and `.text-help` within that element will receive the validation styles.
- Validation icons are `url()`s configured via Sass variables that are applied to `background-image` declarations for each state.
- You may use your own base64 PNGs or SVGs by updating the Sass variables and recompiling.
-- Icons can also be disabled entirely by changing the variables to `non` or commenting out the source Sass.
+- Icons can also be disabled entirely by setting the variables to `none` or commenting out the source Sass.
{% comment %}
{% callout warning %}
diff --git a/docs/components/modal.md b/docs/components/modal.md
index a8b1b4850..1bbcd3fbf 100644
--- a/docs/components/modal.md
+++ b/docs/components/modal.md
@@ -181,7 +181,7 @@ Embedding YouTube videos in modals requires additional JavaScript not in Bootstr
## Optional sizes
-Modals have two optional sizes, available via modifier classes to be placed on a `.modal-dialog`. These size kick in at certain breakpoints to avoid horizontal scrollbars on narrower viewports.
+Modals have two optional sizes, available via modifier classes to be placed on a `.modal-dialog`. These sizes kick in at certain breakpoints to avoid horizontal scrollbars on narrower viewports.
<div class="bd-example">
<button type="button" class="btn btn-primary" data-toggle="modal" data-target=".bd-example-modal-lg">Large modal</button>
diff --git a/docs/components/utilities.md b/docs/components/utilities.md
index e59869fcd..b67221119 100644
--- a/docs/components/utilities.md
+++ b/docs/components/utilities.md
@@ -60,7 +60,8 @@ Here are some representative examples of these classes:
}
{% endhighlight %}
-Additionally, Bootstrap also includes an `.m-x-auto` class for centering fixed-width block level content by setting the horizontal margins to `auto`.
+### Horizontal centering
+Additionally, Bootstrap also includes an `.m-x-auto` class for horizontally centering fixed-width block level content by setting the horizontal margins to `auto`.
<div class="bd-example">
<div class="m-x-auto" style="width: 200px; background-color: rgba(86,61,124,.15);">
@@ -69,7 +70,7 @@ Additionally, Bootstrap also includes an `.m-x-auto` class for centering fixed-w
</div>
{% highlight html %}
-<div class="m-x-auto" style="width: 200px;"">
+<div class="m-x-auto" style="width: 200px;">
Centered element
</div>
{% endhighlight %}