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

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -