mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-26 05:21:29 +08:00
Remove space between icon and input element
There was a space between the icon and the actual input. This was caused by a space in the HTML which I guess was casued by the indentation. There should be no space (so no line break) between the span.add-on and the input tag.
This commit is contained in:
parent
ee55c859d2
commit
9a7417e19f
@ -648,16 +648,14 @@
|
||||
<div class="control-group">
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on"><i class="icon-envelope"></i></span>
|
||||
<input class="span2" id="inputIcon" type="text" placeholder="Email address">
|
||||
<span class="add-on"><i class="icon-envelope"></i></span><input class="span2" id="inputIcon" type="text" placeholder="Email address">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<div class="controls">
|
||||
<div class="input-prepend">
|
||||
<span class="add-on"><i class="icon-key"></i></span>
|
||||
<input class="span2" id="inputIcon2" type="text" placeholder="Password">
|
||||
<span class="add-on"><i class="icon-key"></i></span><input class="span2" id="inputIcon2" type="text" placeholder="Password">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -930,26 +928,23 @@
|
||||
<p>
|
||||
<form>
|
||||
<div class="input-prepend">
|
||||
<span class="add-on"><i class="icon-envelope"></i></span>
|
||||
<input class="span2" type="text" placeholder="Email address">
|
||||
<span class="add-on"><i class="icon-envelope"></i></span><input class="span2" type="text" placeholder="Email address">
|
||||
</div>
|
||||
<div class="input-prepend">
|
||||
<span class="add-on"><i class="icon-key"></i></span>
|
||||
<input class="span2" type="password" placeholder="Password">
|
||||
<span class="add-on"><i class="icon-key"></i></span><input class="span2" type="password" placeholder="Password">
|
||||
</div>
|
||||
</form>
|
||||
</p>
|
||||
</div>
|
||||
<div class="span9">
|
||||
<p>Please note that the span and input tags should be on one line.</p>
|
||||
<pre class="prettyprint linenums">
|
||||
<form>
|
||||
<div class="input-prepend">
|
||||
<span class="add-on"><i class="icon-envelope"></i></span>
|
||||
<input class="span2" type="text" placeholder="Email address">
|
||||
<span class="add-on"><i class="icon-envelope"></i></span><input class="span2" type="text" placeholder="Email address">
|
||||
</div>
|
||||
<div class="input-prepend">
|
||||
<span class="add-on"><i class="icon-key"></i></span>
|
||||
<input class="span2" type="password" placeholder="Password">
|
||||
<span class="add-on"><i class="icon-key"></i></span><input class="span2" type="password" placeholder="Password">
|
||||
</div>
|
||||
</form>
|
||||
</pre>
|
||||
|
Loading…
Reference in New Issue
Block a user