Fix pagination styling issues in documentlist and copy & move (#2252)

This commit is contained in:
Popovics András
2017-08-29 12:29:56 +01:00
committed by Maurizio Vitale
parent d392ae730b
commit e40215aeb9
4 changed files with 15 additions and 5 deletions

View File

@@ -48,6 +48,7 @@
<adf-pagination
*ngIf="isPaginationEnabled()"
class="adf-documentlist-pagination"
(changePageSize)="onChangePageSize($event)"
(nextPage)="onNextPage($event)"
(prevPage)="onPrevPage($event)"

View File

@@ -60,7 +60,7 @@
height: 100%;
}
adf-empty-list-header >>>>div {
adf-empty-list-header >>> div {
height: 32px;
opacity: 0.26 !important;
font-family: Muli, Helvetica, Arial, sans-serif;
@@ -68,4 +68,12 @@ adf-empty-list-header >>>>div {
line-height: 1.33;
letter-spacing: -1px;
color: #000000;
}
.adf-documentlist-pagination {
color: black;
.adf-pagination__block {
border-right: none;
}
}

View File

@@ -17,7 +17,7 @@
import {
AfterContentInit, Component, ContentChild, ElementRef, EventEmitter, HostListener, Input, NgZone,
OnChanges, OnInit, Output, SimpleChanges, TemplateRef, ViewChild
OnChanges, OnInit, Output, SimpleChanges, TemplateRef, ViewChild, ViewEncapsulation
} from '@angular/core';
import { MinimalNodeEntity, MinimalNodeEntryEntity, NodePaging, Pagination, PersonEntry } from 'alfresco-js-api';
import { AlfrescoApiService, DataColumnListComponent } from 'ng2-alfresco-core';
@@ -33,8 +33,9 @@ declare var require: any;
@Component({
selector: 'adf-document-list, alfresco-document-list',
styleUrls: ['./document-list.component.css'],
templateUrl: './document-list.component.html'
styleUrls: ['./document-list.component.scss'],
templateUrl: './document-list.component.html',
encapsulation: ViewEncapsulation.None
})
export class DocumentListComponent implements OnInit, OnChanges, AfterContentInit {

View File

@@ -92,7 +92,7 @@ export class NodeActionsService {
select: new EventEmitter<MinimalNodeEntryEntity[]>()
};
this.dialog.open(ContentNodeSelectorComponent, { data, panelClass: 'adf-content-node-selector-dialog', width: '576px' });
this.dialog.open(ContentNodeSelectorComponent, { data, panelClass: 'adf-content-node-selector-dialog', width: '630px' });
data.select.subscribe((selections: MinimalNodeEntryEntity[]) => {
const selection = selections[0];