Fix search panel scroll in content node selector (#6227)

This commit is contained in:
arditdomi
2020-10-08 12:02:38 +01:00
committed by GitHub
parent 19572c3e9a
commit d236ed40a2
3 changed files with 11 additions and 4 deletions

View File

@@ -1,4 +1,6 @@
<adf-search-filter *ngIf="contentNodeSelectorSearchPanelService?.customModels?.length > 0"
class="app-search-settings" #searchFilter
[showContextFacets]="false"
></adf-search-filter>
<div class="adf-search-panel-scrollable">
<adf-search-filter *ngIf="contentNodeSelectorSearchPanelService?.customModels?.length > 0"
class="app-search-settings"
[showContextFacets]="false">
</adf-search-filter>
</div>

View File

@@ -0,0 +1,4 @@
.adf-search-panel-scrollable {
overflow: scroll;
max-height: 200px;
}

View File

@@ -23,6 +23,7 @@ import { SEARCH_QUERY_SERVICE_TOKEN } from '../../search-query-service.token';
@Component({
selector: 'adf-search-panel',
templateUrl: './search-panel.component.html',
styleUrls: ['./search-panel.component.scss'],
encapsulation: ViewEncapsulation.None,
host: { class: 'adf-search-panel' }