set max-height for search results

This commit is contained in:
fkloft 2015-02-12 15:50:53 +01:00
parent 5e22ea5b72
commit 6ae79ca50b
2 changed files with 5 additions and 1 deletions

View File

@ -37,7 +37,7 @@ window.search.Query = function(term, confirmed) {
window.search.Query.prototype.init = function() { window.search.Query.prototype.init = function() {
this.results = []; this.results = [];
this.container = $('<div>'); this.container = $('<div>').addClass('searchquery');
this.header = $('<h3>') this.header = $('<h3>')
.text(this.confirmed .text(this.confirmed

View File

@ -520,6 +520,10 @@ input[type="search"], input[type="url"] {
height: auto; height: auto;
cursor: pointer; cursor: pointer;
} }
.searchquery {
max-height: 25em;
overflow-y: auto;
}
#searchwrapper .ui-accordion-header::before { #searchwrapper .ui-accordion-header::before {
font-size: 18px; font-size: 18px;
margin-right: 2px; margin-right: 2px;