css - select dropdown too large (Bootstrap) -


ok, have simple thing on website users can enter phone number , text them, when enter phone number need select item in dropdown list country dial codes, problem dropdown list long textbox makes quite awkward, i've done research , have messed around myself without luck, example here talking (btw use bootstrap framework answer need support bootstrap) enter image description here

as can see text box smaller dropdown list makes kinda weird, somehow scale down dropdown looks better along side text field.

thanks reading, appreciated!

edit: current code <select> dropdown looks this

<select class='form-control'>     <option value='213'>algeria (+213)</option>     <option value='376'>andorra (+376)</option>     <option value='244'>angola (+244)</option>     <option value='1264'>anguilla (+1264)</option>     <option value='1268'>antigua &amp; barbuda (+1268)</option>     <option value='54'>argentina (+54)</option>     <option value='374'>armenia (+374)</option>     <option value='297'>aruba (+297)</option>     <option value='61'>australia (+61)</option> //there more countries..... cut here won't long </select> 


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -