diff options
author | Gaƫl Poupard <ffoodd@users.noreply.github.com> | 2021-06-03 09:08:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-03 09:08:29 +0300 |
commit | 46045b4a9b21b0a55ea8867ad7f3dc17e1c6cfee (patch) | |
tree | 7b3181e34541e23251ed2b59f2a9e47e021f1a15 /site/content/docs | |
parent | c0d21e1b3da954ef429f34700435729b3313160e (diff) |
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 <markd.otto@gmail.com>
Diffstat (limited to 'site/content/docs')
-rw-r--r-- | site/content/docs/5.0/components/card.md | 2 |
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 48f54f0c2f..97bcf77d51 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"> |