mirror of
https://github.com/valitydev/gentelella.git
synced 2024-11-06 00:05:21 +00:00
Fix autocomplete suggestions not aligned
This commit is contained in:
parent
f5f525fcae
commit
e35452aaa7
@ -626,8 +626,7 @@
|
||||
<div class="form-group">
|
||||
<label class="control-label col-md-3 col-sm-3 col-xs-12">AutoComplete</label>
|
||||
<div class="col-md-9 col-sm-9 col-xs-12">
|
||||
<input type="text" name="country" id="autocomplete-custom-append" class="form-control col-md-10" style="float: left;" />
|
||||
<div id="autocomplete-container" style="position: relative; float: left; width: 400px; margin: 10px;"></div>
|
||||
<input type="text" name="country" id="autocomplete-custom-append" class="form-control col-md-10"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
@ -1546,8 +1545,7 @@
|
||||
|
||||
// initialize autocomplete with custom appendTo
|
||||
$('#autocomplete-custom-append').autocomplete({
|
||||
lookup: countriesArray,
|
||||
appendTo: '#autocomplete-container'
|
||||
lookup: countriesArray
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user