[DE PE SSE] Fix bug 58696
This commit is contained in:
parent
ca5738bd99
commit
3d24b01699
|
@ -3,6 +3,7 @@
|
|||
<label id="search-adv-title"></label>
|
||||
<div id="search-btn-close"></div>
|
||||
</div>
|
||||
<div id="search-container">
|
||||
<div id="search-adv-settings">
|
||||
<table cols="1">
|
||||
<tbody>
|
||||
|
@ -60,4 +61,5 @@
|
|||
</div>
|
||||
<div id="search-results" class="ps-container oo">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -176,6 +176,13 @@ define([
|
|||
this.$resultsContainer = $('#search-results');
|
||||
this.$resultsContainer.hide();
|
||||
|
||||
this.$searchContainer = $('#search-container');
|
||||
this.$searchContainer.scroller = new Common.UI.Scroller({
|
||||
el : $('#search-container'),
|
||||
useKeyboard : true,
|
||||
minScrollbarLength: 40
|
||||
});
|
||||
|
||||
Common.NotificationCenter.on('search:updateresults', _.bind(this.disableNavButtons, this));
|
||||
if (window.SSE) {
|
||||
this.cmbWithin = new Common.UI.ComboBox({
|
||||
|
@ -329,8 +336,9 @@ define([
|
|||
|
||||
updateResultsContainerHeight: function () {
|
||||
if (this.$resultsContainer) {
|
||||
this.$resultsContainer.outerHeight($('#search-box').outerHeight() - $('#search-header').outerHeight() - $('#search-adv-settings').outerHeight());
|
||||
this.$resultsContainer.outerHeight(Math.max($('#search-box').outerHeight() - $('#search-header').outerHeight() - $('#search-adv-settings').outerHeight(), 112));
|
||||
this.$resultsContainer.scroller.update({alwaysVisibleY: true});
|
||||
this.$searchContainer.scroller.update({alwaysVisibleY: false});
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -136,10 +136,7 @@
|
|||
}
|
||||
|
||||
#search-adv-settings {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 45px;
|
||||
position: relative;
|
||||
padding: 10px 15px 0 15px;
|
||||
|
||||
table {
|
||||
|
@ -238,10 +235,7 @@
|
|||
}
|
||||
|
||||
#search-results {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
border-top: @scaled-one-px-value-ie solid @border-toolbar-ie;
|
||||
border-top: @scaled-one-px-value solid @border-toolbar;
|
||||
|
@ -270,4 +264,13 @@
|
|||
}
|
||||
}
|
||||
|
||||
#search-container {
|
||||
position: absolute;
|
||||
overflow: hidden;
|
||||
top: 45px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
}
|
|
@ -779,6 +779,7 @@
|
|||
top: 28px;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
padding-bottom: 10px;
|
||||
.item {
|
||||
padding: 0;
|
||||
display: flex;
|
||||
|
|
Loading…
Reference in a new issue