mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-10-01 14:41:14 +00:00
cleanup search results toolbar
This commit is contained in:
committed by
Sheena Malhotra
parent
f28f2ffe6c
commit
b6bcc20405
@@ -154,8 +154,11 @@ export class SearchInputComponent implements OnInit, OnDestroy {
|
|||||||
} else {
|
} else {
|
||||||
this.store.dispatch(new SnackbarErrorAction('APP.BROWSE.SEARCH.EMPTY_SEARCH'));
|
this.store.dispatch(new SnackbarErrorAction('APP.BROWSE.SEARCH.EMPTY_SEARCH'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.trigger) {
|
||||||
this.trigger.closeMenu();
|
this.trigger.closeMenu();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
onSearchChange(searchTerm: string) {
|
onSearchChange(searchTerm: string) {
|
||||||
if (!this.searchOnChange) {
|
if (!this.searchOnChange) {
|
||||||
|
@@ -1,7 +1,8 @@
|
|||||||
<aca-page-layout>
|
<aca-page-layout>
|
||||||
<aca-page-layout-header>
|
<aca-page-layout-header>
|
||||||
<aca-search-input></aca-search-input>
|
<aca-search-input></aca-search-input>
|
||||||
<adf-toolbar class="adf-toolbar--inline adf-toolbar-search-results">
|
<div class="adf-toolbar--spacer adf-toolbar-divider"></div>
|
||||||
|
<adf-toolbar class="adf-toolbar--inline">
|
||||||
<ng-container *ngFor="let entry of actions; trackBy: trackByActionId">
|
<ng-container *ngFor="let entry of actions; trackBy: trackByActionId">
|
||||||
<aca-toolbar-action [actionRef]="entry"></aca-toolbar-action>
|
<aca-toolbar-action [actionRef]="entry"></aca-toolbar-action>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
@@ -3,13 +3,6 @@
|
|||||||
$adf-chip-background: #efefef;
|
$adf-chip-background: #efefef;
|
||||||
$contrast-gray: #646569;
|
$contrast-gray: #646569;
|
||||||
|
|
||||||
.adf-toolbar-search-results {
|
|
||||||
position: fixed;
|
|
||||||
right: 24px;
|
|
||||||
height: 32px;
|
|
||||||
margin-bottom: 32px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.adf-search-results {
|
.adf-search-results {
|
||||||
@include flex-row;
|
@include flex-row;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user