Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix auto-complete authors label in search:
Per GH #1707, when searching for authors, the auto-complete shows
the found results under a label "Products". This adds a CSS rule
to fix it and show them under a label "Authors".
  • Loading branch information
xsawyerx committed Jun 9, 2016
1 parent 1a30f82 commit e15dd2f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions root/static/css/jquery.autocomplete.css
Expand Up @@ -45,3 +45,12 @@ div.autocomplete-suggestions div:nth-child(2n+2) {
.autocomplete-suggestion.autocomplete-selected {
background: #BAD3EA !important;
}

/*
When auto-completing author results in the search,
show them under "Authors"
GH #1707, Dan McCormick
*/
#autocomplete-direct-results:before {
content: 'Authors'
}

0 comments on commit e15dd2f

Please sign in to comment.