]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixed couple of formatting errors in modal.md 17047/head
authorPete Nykänen <petelive138@gmail.com>
Wed, 19 Aug 2015 18:43:16 +0000 (21:43 +0300)
committerPete Nykänen <petelive138@gmail.com>
Wed, 19 Aug 2015 18:43:16 +0000 (21:43 +0300)
One extra `</p>` was out of place, plus couple of issues with `'s which caused some odd formatting.

docs/components/modal.md

index 162a48be5936f8b314f1ea288e8daa9c8b938b83..80b86c116542061a7abb6f315b00d4bba3c5872b 100644 (file)
@@ -39,7 +39,7 @@ There are some caveats regarding using modals on mobile devices. [See our browse
 
 ### Static example
 
-A rendered modal with header, body, and set of actions in the footer.</p>
+A rendered modal with header, body, and set of actions in the footer.
 
 <div class="bd-example bd-example-modal">
   <div class="modal">
@@ -172,7 +172,7 @@ Toggle a modal via JavaScript by clicking the button below. It will slide down a
 {% callout warning %}
 #### Make modals accessible
 
-Be sure to add `role="dialog"` and `aria-labelledby="..."``, referencing the modal title, to `.modal`, and `role="document"` to the `.modal-dialog` itself.
+Be sure to add `role="dialog"` and `aria-labelledby="..."`, referencing the modal title, to `.modal`, and `role="document"` to the `.modal-dialog` itself.
 
 Additionally, you may give a description of your modal dialog with `aria-describedby` on `.modal`.
 {% endcallout %}
@@ -264,7 +264,7 @@ For modals that simply appear rather than fade in to view, remove the `.fade` cl
 
 ## Using the grid system
 
-To take advantage of the Bootstrap grid system within a modal, just nest `.container-fluid within the `.modal-body` and then use the normal grid system classes within this container.
+To take advantage of the Bootstrap grid system within a modal, just nest `.container-fluid` within the `.modal-body` and then use the normal grid system classes within this container.
 
 {% example html %}
 <div id="gridSystemModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="gridModalLabel" aria-hidden="true">