]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Adds a note about the limitations on content being larger than the image.
authorHelmut Granda <contact@helmutgranda.com>
Wed, 26 Sep 2018 20:59:19 +0000 (15:59 -0500)
committerXhmikosR <xhmikosr@gmail.com>
Wed, 17 Oct 2018 20:15:01 +0000 (23:15 +0300)
In the event that the content is larger than the image, the content will continue to be displayed outside the image itself. There are some workarounds but they apply only to browsers that support this option and IE11 is not one of them.

site/_includes/callout-info-content-iamge-overlay-overflow.md [new file with mode: 0644]
site/docs/4.1/components/card.md

diff --git a/site/_includes/callout-info-content-iamge-overlay-overflow.md b/site/_includes/callout-info-content-iamge-overlay-overflow.md
new file mode 100644 (file)
index 0000000..64112ac
--- /dev/null
@@ -0,0 +1,4 @@
+{% capture callout %}
+Note that content should not be larger than the height of the image. If content is larger than the image the content will be displayed outside the image.
+{% endcapture %}
+{% include callout.html content=callout type="info" %}
\ No newline at end of file
index 2eb2c117aef8bb05c8e39d605b956302115dd40f..aade11c8eb09e1b76260c07b98865a65af258a30 100644 (file)
@@ -391,6 +391,7 @@ Turn an image into a card background and overlay your card's text. Depending on
 </div>
 {% endcapture %}
 {% include example.html content=example %}
+{% include callout-info-content-iamge-overlay-overflow.md %}
 
 ## Card styles