Skip to content

Commit 3dbbfb9

Browse files
committed
Set width to the size of the input field plus 5 pixels - looks good in chrome/firefox/safari.
1 parent 4fc0746 commit 3dbbfb9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

static/js/cpan.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ $(document).ready(function() {
5555
delay: 100,
5656
max: 20,
5757
selectFirst: false,
58+
width: $("#search-input").width() + 5,
5859
parse: function(data) {
5960
return $.map(data, function(row) {
6061
return {

0 commit comments

Comments
 (0)