fix form field sizing for selects, document form field grid sizing
This commit is contained in:
parent
0cb2866409
commit
bcf1136f2c
5 changed files with 136 additions and 140 deletions
|
|
@ -456,7 +456,11 @@ form.well {
|
|||
outline: 0;
|
||||
}
|
||||
|
||||
|
||||
/* For input sizes, make them display block */
|
||||
.docs-input-sizes input[type=text] {
|
||||
display: block;
|
||||
margin-bottom: 9px;
|
||||
}
|
||||
|
||||
/* Icons
|
||||
------------------------- */
|
||||
|
|
|
|||
|
|
@ -1024,6 +1024,15 @@
|
|||
<div class="span8">
|
||||
<form class="horizontal-form">
|
||||
<legend>Extending form controls</legend>
|
||||
<fieldset class="control-group">
|
||||
<label class="control-label">Form sizes</label>
|
||||
<div class="controls docs-input-sizes">
|
||||
<input class="span2" type="text" name="" placeholder=".span2">
|
||||
<input class="span3" type="text" name="" placeholder=".span3">
|
||||
<input class="span4" type="text" name="" placeholder=".span4">
|
||||
<p class="help-block">Use the same <code>.span*</code> classes from the grid system for input sizes.</p>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset class="control-group">
|
||||
<label class="control-label" for="prependedInput">Prepended text</label>
|
||||
<div class="controls">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue