mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Fixes #5963: Add large button example to icons, fix vertical alignment in large buttons
This commit is contained in:
parent
74f51105e9
commit
fda5bb135e
2
docs/assets/css/bootstrap.css
vendored
2
docs/assets/css/bootstrap.css
vendored
@ -3238,7 +3238,7 @@ button.close {
|
||||
|
||||
.btn-large [class^="icon-"],
|
||||
.btn-large [class*=" icon-"] {
|
||||
margin-top: 2px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.btn-small {
|
||||
|
@ -2076,6 +2076,14 @@ For example, <code><section></code> should be wrapped as inlin
|
||||
<li><a href="#"><i class="i"></i> Make admin</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</pre>
|
||||
|
||||
<h5>Large button</h5>
|
||||
<div class="bs-docs-example">
|
||||
<a class="btn btn-large" href="#"><i class="icon-star"></i> Star</a>
|
||||
</div>
|
||||
<pre class="prettyprint linenums">
|
||||
<a class="btn btn-large" href="#"><i class="icon-star"></i> Star</a>
|
||||
</pre>
|
||||
|
||||
<h5>Small button</h5>
|
||||
|
8
docs/templates/pages/base-css.mustache
vendored
8
docs/templates/pages/base-css.mustache
vendored
@ -2013,6 +2013,14 @@
|
||||
<li><a href="#"><i class="i"></i> {{_i}}Make admin{{/i}}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</pre>
|
||||
|
||||
<h5>{{_i}}Large button{{/i}}</h5>
|
||||
<div class="bs-docs-example">
|
||||
<a class="btn btn-large" href="#"><i class="icon-star"></i> Star</a>
|
||||
</div>{{! /bs-docs-example }}
|
||||
<pre class="prettyprint linenums">
|
||||
<a class="btn btn-large" href="#"><i class="icon-star"></i> Star</a>
|
||||
</pre>
|
||||
|
||||
<h5>{{_i}}Small button{{/i}}</h5>
|
||||
|
@ -73,7 +73,7 @@
|
||||
}
|
||||
.btn-large [class^="icon-"],
|
||||
.btn-large [class*=" icon-"] {
|
||||
margin-top: 2px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
// Small
|
||||
|
Loading…
x
Reference in New Issue
Block a user