1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-25 14:30:46 +02:00

fix form field sizing for selects, document form field grid sizing

This commit is contained in:
Mark Otto
2012-01-07 00:47:53 -08:00
parent 0cb2866409
commit bcf1136f2c
5 changed files with 136 additions and 140 deletions

View File

@@ -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
------------------------- */

View File

@@ -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">