mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Fix pagination styling issues in documentlist and copy & move (#2252)
This commit is contained in:
committed by
Maurizio Vitale
parent
d392ae730b
commit
e40215aeb9
@@ -48,6 +48,7 @@
|
||||
|
||||
<adf-pagination
|
||||
*ngIf="isPaginationEnabled()"
|
||||
class="adf-documentlist-pagination"
|
||||
(changePageSize)="onChangePageSize($event)"
|
||||
(nextPage)="onNextPage($event)"
|
||||
(prevPage)="onPrevPage($event)"
|
||||
|
@@ -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;
|
||||
}
|
||||
}
|
@@ -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 {
|
||||
|
||||
|
@@ -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];
|
||||
|
Reference in New Issue
Block a user