javascript - Bootstrap input-group text without button taking half the space -


i don't know if supposed behaviour or not, i've come across weird input-group. when there text input inside it, textbox smaller when there button. see jsfiddle: https://jsfiddle.net/dtchh/20367/

is normal ?

since you´re not grouping think considered normal. adding input addon extends.

see fiddle: https://jsfiddle.net/dtchh/20370/

<div class="input-group">     <!-- input group addon -->     <span class="input-group-addon" id="basic-addon1">@</span>     <input type="text" class="form-control"> </div> 

also read http://getbootstrap.com/components/#input-groups


Comments

Popular posts from this blog

wireshark - USB mapping with python -

c++ - nodejs socket.io closes connection before upgrading to websocket -

Deploying Qt Application on Android is really slow? -