mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACA-4709] ensure all components have encapsulation set to none (#3271)
* ACA-4709 Added use-none-component-view-encapsulation eslint rule and correct part of components * ACA-4709 More changes for encapsulation * ACA-4709 Installed eslint-plugin-eslint-angular dependency * ACA-4709 Corrected rest places with did not use none encapsulation * ACA-4709 Exclude process inline templates plugin from spec files
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
adf-about {
|
||||
padding: 10px;
|
||||
width: 100%;
|
||||
app-about-page {
|
||||
adf-about {
|
||||
padding: 10px;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
@@ -22,7 +22,7 @@
|
||||
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { Component, OnInit, inject } from '@angular/core';
|
||||
import { Component, inject, OnInit, ViewEncapsulation } from '@angular/core';
|
||||
import { DEV_MODE_TOKEN } from './dev-mode.tokens';
|
||||
import { AppExtensionService } from '@alfresco/adf-extensions';
|
||||
import { AboutModule, AppConfigService, AuthenticationService, RepositoryInfo } from '@alfresco/adf-core';
|
||||
@@ -40,7 +40,8 @@ import { MatButtonModule } from '@angular/material/button';
|
||||
imports: [CommonModule, TranslateModule, AboutModule, PageLayoutModule, RouterModule, MatIconModule, MatButtonModule],
|
||||
selector: 'app-about-page',
|
||||
templateUrl: './about.component.html',
|
||||
styleUrls: ['./about.component.scss']
|
||||
styleUrls: ['./about.component.scss'],
|
||||
encapsulation: ViewEncapsulation.None
|
||||
})
|
||||
export class AboutComponent implements OnInit {
|
||||
private authService = inject(AuthenticationService);
|
||||
|
Reference in New Issue
Block a user