]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
v4: Update docs callout for responsive SVG images (#30809)
authorMark Otto <markd.otto@gmail.com>
Thu, 14 May 2020 06:18:01 +0000 (23:18 -0700)
committerGitHub <noreply@github.com>
Thu, 14 May 2020 06:18:01 +0000 (09:18 +0300)
Turns out this applies to IE11 as well as IE10, so this clarifies the docs callout.

Closes #25242.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
site/docs/4.5/content/images.md

index 3ff822bed5219b77da32e165dacfbebdf9fb6629..15b4f2988e7887eed2538c56f6c820b4cf8366b1 100644 (file)
@@ -19,9 +19,9 @@ Images in Bootstrap are made responsive with `.img-fluid`. `max-width: 100%;` an
 {% endhighlight %}
 
 {% capture callout %}
-##### SVG images and IE 10
+##### SVG images and Internet Explorer
 
-In Internet Explorer 10, SVG images with `.img-fluid` are disproportionately sized. To fix this, add `width: 100% \9;` where necessary. This fix improperly sizes other image formats, so Bootstrap doesn't apply it automatically.
+In Internet Explorer 10 and 11, SVG images with `.img-fluid` are disproportionately sized. To fix this, add `width: 100%;` or `.w-100` where necessary. This fix improperly sizes other image formats, so Bootstrap doesn't apply it automatically.
 {% endcapture %}
 {% include callout.html content=callout type="warning" %}