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:
Denys Vuika
2018-06-17 13:18:38 +01:00
committed by GitHub
parent 8c7cbd4caf
commit 2c6136ef59
3 changed files with 2 additions and 16 deletions

View File

@@ -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() {

View File

@@ -1,10 +1,5 @@
@import 'variables';
// todo: remove once ADF 2.0 is out
:host {
overflow: hidden;
}
adf-search-control {
color: $alfresco-white;
}

View File

@@ -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 {