From 504435e0b07e6c638df995959bb1f0a4a182ceca Mon Sep 17 00:00:00 2001 From: Kevin Kirsche Date: Mon, 2 Feb 2015 10:35:21 -0500 Subject: [PATCH] Fix #15712: Add example of how to use grid system within a modal Closes #15725 by merging a tweaked version of it. --- docs/_includes/js/modal.html | 96 ++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) diff --git a/docs/_includes/js/modal.html b/docs/_includes/js/modal.html index d845795992..1b653d17c0 100644 --- a/docs/_includes/js/modal.html +++ b/docs/_includes/js/modal.html @@ -216,6 +216,102 @@ $('#myModal').on('shown.bs.modal', function () { +{% endhighlight %} + +

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.

+ + +
+ +
+{% highlight html %} + + {% endhighlight %}