mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
remove bug in docs for example icon in an input-prepend by removing margin on any input/select/etc in an input-prepend/append
This commit is contained in:
parent
ceab161324
commit
b7b84c7a0d
Binary file not shown.
1
docs/assets/css/bootstrap.css
vendored
1
docs/assets/css/bootstrap.css
vendored
@ -992,6 +992,7 @@ select:focus:required:invalid:focus {
|
|||||||
.input-append select,
|
.input-append select,
|
||||||
.input-prepend .uneditable-input,
|
.input-prepend .uneditable-input,
|
||||||
.input-append .uneditable-input {
|
.input-append .uneditable-input {
|
||||||
|
margin-bottom: 0;
|
||||||
*margin-left: 0;
|
*margin-left: 0;
|
||||||
-webkit-border-radius: 0 3px 3px 0;
|
-webkit-border-radius: 0 3px 3px 0;
|
||||||
-moz-border-radius: 0 3px 3px 0;
|
-moz-border-radius: 0 3px 3px 0;
|
||||||
|
@ -1639,8 +1639,7 @@ For example, <code>section</code> should be wrapped as inline.
|
|||||||
<label class="control-label" for="inputIcon">Email address</label>
|
<label class="control-label" for="inputIcon">Email address</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<div class="input-prepend">
|
<div class="input-prepend">
|
||||||
<span class="add-on"><i class="icon-envelope"></i></span>
|
<span class="add-on"><i class="icon-envelope"></i></span><input class="span2" id="inputIcon" type="text">
|
||||||
<input class="span2" id="inputIcon" type="text">
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
3
docs/templates/pages/base-css.mustache
vendored
3
docs/templates/pages/base-css.mustache
vendored
@ -1563,8 +1563,7 @@
|
|||||||
<label class="control-label" for="inputIcon">{{_i}}Email address{{/i}}</label>
|
<label class="control-label" for="inputIcon">{{_i}}Email address{{/i}}</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<div class="input-prepend">
|
<div class="input-prepend">
|
||||||
<span class="add-on"><i class="icon-envelope"></i></span>
|
<span class="add-on"><i class="icon-envelope"></i></span><input class="span2" id="inputIcon" type="text">
|
||||||
<input class="span2" id="inputIcon" type="text">
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -365,6 +365,7 @@ select:focus:required:invalid {
|
|||||||
input,
|
input,
|
||||||
select,
|
select,
|
||||||
.uneditable-input {
|
.uneditable-input {
|
||||||
|
margin-bottom: 0; // prevent bottom margin from screwing up alignment in stacked forms
|
||||||
*margin-left: 0;
|
*margin-left: 0;
|
||||||
.border-radius(0 3px 3px 0);
|
.border-radius(0 3px 3px 0);
|
||||||
&:focus {
|
&:focus {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user