mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
- Remove debug
- Change font in results to match selected option and other selectboxes
This commit is contained in:
parent
f3f2f4d9ab
commit
340fec0611
@ -243,6 +243,7 @@
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
.chzn-container-multi .chzn-results {
|
||||
margin: -1px 0 0;
|
||||
|
@ -380,14 +380,12 @@ Copyright (c) 2011 by Harvest
|
||||
if (totalHeight > windowHeight) {
|
||||
var difference = totalHeight - windowHeight,
|
||||
height = dropdownHeight - difference - this.search_container.height();
|
||||
console.log("windowHeight:" + windowHeight + " Total height: " + totalHeight + ' height: ' + height, this.container);
|
||||
|
||||
if (height > 100) {
|
||||
this.search_results.css('max-height', height);
|
||||
} else {
|
||||
var to_top = egw.getHiddenDimensions ? egw.getHiddenDimensions(this.container,true)['top'] : this.container.offset().top;
|
||||
var to_bottom = windowHeight - to_top;
|
||||
console.log("Distance to top: %d Distance to bottom %d", to_top, to_bottom, this.container.offset());
|
||||
this.dropdown.addClass('chzn-above');
|
||||
this.search_results.css('max-height', this.search_results.data('initialMaxHeight'));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user