From aa982f3d8c3c58b6cebd91756d9b86fd8d2488fe Mon Sep 17 00:00:00 2001 From: Kevin Kirsche Date: Fri, 23 Jan 2015 14:26:16 -0500 Subject: [PATCH] Fix issue #15653 Fix issue #15653 by adding that `.center-block` should be used when centering a responsive image. --- docs/_includes/css/images.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/_includes/css/images.html b/docs/_includes/css/images.html index 73516afbaec4..4a9ad5c653ce 100644 --- a/docs/_includes/css/images.html +++ b/docs/_includes/css/images.html @@ -7,6 +7,10 @@

Responsive images

SVG images and IE 8-10

In Internet Explorer 8-10, SVG images with .img-responsive are disproportionately sized. To fix this, add width: 100% \9; where necessary. Bootstrap doesn't apply this automatically as it causes complications to other image formats.

+
+

Centering responsive images

+

To align components which use the .img-responsive class, use .center-block instead of .text-center. See the helper classes docs for details.

+
{% highlight html %} Responsive image {% endhighlight %}