allow styling cloud header from the outside (#5988)

This commit is contained in:
Denys Vuika 2020-08-13 15:03:01 +01:00 committed by GitHub
parent 5577e0e9be
commit 322587921c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, Input, OnChanges, OnInit, OnDestroy, EventEmitter } from '@angular/core'; import { Component, Input, OnChanges, OnInit, OnDestroy, EventEmitter, ViewEncapsulation } from '@angular/core';
import { CardViewItem, CardViewTextItemModel, TranslationService, AppConfigService, CardViewDateItemModel, CardViewBaseItemModel } from '@alfresco/adf-core'; import { CardViewItem, CardViewTextItemModel, TranslationService, AppConfigService, CardViewDateItemModel, CardViewBaseItemModel } from '@alfresco/adf-core';
import { ProcessInstanceCloud } from '../../start-process/models/process-instance-cloud.model'; import { ProcessInstanceCloud } from '../../start-process/models/process-instance-cloud.model';
import { ProcessCloudService } from '../../services/process-cloud.service'; import { ProcessCloudService } from '../../services/process-cloud.service';
@ -25,9 +25,9 @@ import { Subject } from 'rxjs';
@Component({ @Component({
selector: 'adf-cloud-process-header', selector: 'adf-cloud-process-header',
templateUrl: './process-header-cloud.component.html', templateUrl: './process-header-cloud.component.html',
styleUrls: ['./process-header-cloud.component.scss'] encapsulation: ViewEncapsulation.None,
host: { class: 'adf-cloud-process-header' }
}) })
export class ProcessHeaderCloudComponent implements OnChanges, OnInit, OnDestroy { export class ProcessHeaderCloudComponent implements OnChanges, OnInit, OnDestroy {
/** (Required) The name of the application. */ /** (Required) The name of the application. */