aboutsummaryrefslogtreecommitdiff
path: root/site
diff options
context:
space:
mode:
authorGaĆ«l Poupard <[email protected]>2021-06-03 08:08:29 +0200
committerGitHub <[email protected]>2021-06-02 23:08:29 -0700
commit46045b4a9b21b0a55ea8867ad7f3dc17e1c6cfee (patch)
tree7b3181e34541e23251ed2b59f2a9e47e021f1a15 /site
parentc0d21e1b3da954ef429f34700435729b3313160e (diff)
downloadbootstrap-46045b4a9b21b0a55ea8867ad7f3dc17e1c6cfee.tar.xz
bootstrap-46045b4a9b21b0a55ea8867ad7f3dc17e1c6cfee.zip
img in horizontal card (#34160)
* docs(cards): img in horizontal card Closes #34145 Simply adds `img-fluid` and `rounded-start` classes to horizontal card example to ensure copy-pasting from the docs matches the expectation. * Update site/content/docs/5.0/components/card.md Co-authored-by: Mark Otto <[email protected]>
Diffstat (limited to 'site')
-rw-r--r--site/content/docs/5.0/components/card.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/content/docs/5.0/components/card.md b/site/content/docs/5.0/components/card.md
index 48f54f0c2..97bcf77d5 100644
--- a/site/content/docs/5.0/components/card.md
+++ b/site/content/docs/5.0/components/card.md
@@ -398,7 +398,7 @@ Using a combination of grid and utility classes, cards can be made horizontal in
<div class="card mb-3" style="max-width: 540px;">
<div class="row g-0">
<div class="col-md-4">
- {{< placeholder width="100%" height="250" text="Image" >}}
+ {{< placeholder width="100%" height="250" text="Image" class="img-fluid rounded-start" >}}
</div>
<div class="col-md-8">
<div class="card-body">