Commit 393d523c authored by Mark Otto's avatar Mark Otto

Fixes #11660: Depcreate small and .small in blockquote in favor of footer

parent 9023c087
...@@ -857,17 +857,17 @@ base_url: "../" ...@@ -857,17 +857,17 @@ base_url: "../"
<p>Style and content changes for simple variations on a standard <code>&lt;blockquote&gt;</code>.</p> <p>Style and content changes for simple variations on a standard <code>&lt;blockquote&gt;</code>.</p>
<h4>Naming a source</h4> <h4>Naming a source</h4>
<p>Add <code>&lt;small&gt;</code> tag or <code>.small</code> class for identifying the source. Wrap the name of the source work in <code>&lt;cite&gt;</code>.</p> <p>Add a <code>&lt;footer&gt;</code> for identifying the source. Wrap the name of the source work in <code>&lt;cite&gt;</code>.</p>
<div class="bs-example"> <div class="bs-example">
<blockquote> <blockquote>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
<small>Someone famous in <cite title="Source Title">Source Title</cite></small> <footer>Someone famous in <cite title="Source Title">Source Title</cite></footer>
</blockquote> </blockquote>
</div> </div>
{% highlight html %} {% highlight html %}
<blockquote> <blockquote>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
<small>Someone famous in <cite title="Source Title">Source Title</cite></small> <footer>Someone famous in <cite title="Source Title">Source Title</cite></footer>
</blockquote> </blockquote>
{% endhighlight %} {% endhighlight %}
...@@ -876,7 +876,7 @@ base_url: "../" ...@@ -876,7 +876,7 @@ base_url: "../"
<div class="bs-example" style="overflow: hidden;"> <div class="bs-example" style="overflow: hidden;">
<blockquote class="pull-right"> <blockquote class="pull-right">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
<small>Someone famous in <cite title="Source Title">Source Title</cite></small> <footer>Someone famous in <cite title="Source Title">Source Title</cite></footer>
</blockquote> </blockquote>
</div> </div>
{% highlight html %} {% highlight html %}
......
...@@ -606,12 +606,14 @@ blockquote p { ...@@ -606,12 +606,14 @@ blockquote p {
blockquote p:last-child { blockquote p:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
blockquote footer,
blockquote small, blockquote small,
blockquote .small { blockquote .small {
display: block; display: block;
line-height: 1.428571429; line-height: 1.428571429;
color: #999; color: #999;
} }
blockquote footer:before,
blockquote small:before, blockquote small:before,
blockquote .small:before { blockquote .small:before {
content: '\2014 \00A0'; content: '\2014 \00A0';
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -270,6 +270,10 @@ blockquote { ...@@ -270,6 +270,10 @@ blockquote {
p:last-child { p:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
// Deprecating small and .small for v3.1
// Context: https://github.com/twbs/bootstrap/issues/11660
footer,
small, small,
.small { .small {
display: block; display: block;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment