1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-04-22 08:44:08 +02:00

Doc: fix blockquote mismatch (#41295)

* fix: blockquote mismatch in card

Refs: #41292

* fix: blockquote mismatch in reboot

Refs: #41292
This commit is contained in:
Vinicius de Santana 2025-04-11 01:40:30 -03:00 committed by GitHub
parent 9c90c55543
commit 02761cd59e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 16 additions and 8 deletions

View File

@ -173,10 +173,14 @@ Card headers can be styled by adding `.card-header` to `<h*>` elements.
Quote
</div>
<div class="card-body">
<blockquote class="blockquote mb-0">
<p>A well-known quote, contained in a blockquote element.</p>
<footer class="blockquote-footer">Someone famous in <cite title="Source Title">Source Title</cite></footer>
</blockquote>
<figure>
<blockquote class="blockquote">
<p>A well-known quote, contained in a blockquote element.</p>
</blockquote>
<figcaption class="blockquote-footer">
Someone famous in <cite title="Source Title">Source Title</cite>
</figcaption>
</figure>
</div>
</div>
{{< /example >}}

View File

@ -428,10 +428,14 @@ The `<address>` element is updated to reset the browser default `font-style` fro
The default `margin` on blockquotes is `1em 40px`, so we reset that to `0 0 1rem` for something more consistent with other elements.
<div class="bd-example">
<blockquote class="blockquote">
<p>A well-known quote, contained in a blockquote element.</p>
</blockquote>
<p>Someone famous in <cite title="Source Title">Source Title</cite></p>
<figure>
<blockquote class="blockquote">
<p>A well-known quote, contained in a blockquote element.</p>
</blockquote>
<figcaption>
Someone famous in <cite title="Source Title">Source Title</cite>
</figcaption>
</figure>
</div>
### Inline elements