mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
remove old workarounds (#427)
* remove ADF 2.3 workarounds * remove old workarounds for styles * remove old document list workarounds * style fixes
This commit is contained in:
@@ -25,10 +25,7 @@
|
||||
|
||||
import { Component, OnInit, EventEmitter } from '@angular/core';
|
||||
import { Router, ActivatedRoute, NavigationEnd } from '@angular/router';
|
||||
import {
|
||||
PageTitleService, UserPreferencesService, AppConfigService,
|
||||
FileModel, UploadService
|
||||
} from '@alfresco/adf-core';
|
||||
import { PageTitleService, AppConfigService, FileModel, UploadService } from '@alfresco/adf-core';
|
||||
import { ElectronService } from '@ngstack/electron';
|
||||
import { Store } from '@ngrx/store';
|
||||
import { AppStore } from './store/states/app.state';
|
||||
@@ -44,14 +41,10 @@ export class AppComponent implements OnInit {
|
||||
private route: ActivatedRoute,
|
||||
private router: Router,
|
||||
private pageTitle: PageTitleService,
|
||||
preferences: UserPreferencesService,
|
||||
private store: Store<AppStore>,
|
||||
private config: AppConfigService,
|
||||
private electronService: ElectronService,
|
||||
private uploadService: UploadService) {
|
||||
// TODO: remove once ADF 2.3.0 is out (needs bug fixes)
|
||||
preferences.defaults.supportedPageSizes = config.get('pagination.supportedPageSizes');
|
||||
preferences.defaults.paginationSize = config.get('pagination.size');
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
|
@@ -1,10 +1,5 @@
|
||||
@import 'variables';
|
||||
|
||||
// todo: remove once ADF 2.0 is out
|
||||
:host {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
adf-search-control {
|
||||
color: $alfresco-white;
|
||||
}
|
||||
|
@@ -1,4 +1,3 @@
|
||||
@import 'variables';
|
||||
@import 'mixins';
|
||||
|
||||
@mixin adf-document-list-theme($theme) {
|
||||
@@ -7,7 +6,6 @@
|
||||
|
||||
adf-document-list {
|
||||
@include flex-column;
|
||||
background-color: white; // TODO: remove when ADF 2.4.0 is out.
|
||||
}
|
||||
|
||||
adf-datatable {
|
||||
@@ -79,7 +77,7 @@
|
||||
}
|
||||
|
||||
.adf-datatable-row:last-child .adf-datatable-table-cell {
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.07);
|
||||
border-bottom: 1px solid mat-color($foreground, text, 0.07);
|
||||
}
|
||||
|
||||
&.adf-data-table--empty {
|
||||
|
Reference in New Issue
Block a user