mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Fix pagination styling issues in documentlist and copy & move (#2252)
This commit is contained in:
committed by
Mario Romano
parent
e295a05a56
commit
8e3d84504a
@@ -48,6 +48,7 @@
|
|||||||
|
|
||||||
<adf-pagination
|
<adf-pagination
|
||||||
*ngIf="isPaginationEnabled()"
|
*ngIf="isPaginationEnabled()"
|
||||||
|
class="adf-documentlist-pagination"
|
||||||
(changePageSize)="onChangePageSize($event)"
|
(changePageSize)="onChangePageSize($event)"
|
||||||
(nextPage)="onNextPage($event)"
|
(nextPage)="onNextPage($event)"
|
||||||
(prevPage)="onPrevPage($event)"
|
(prevPage)="onPrevPage($event)"
|
||||||
|
@@ -60,7 +60,7 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
adf-empty-list-header >>>>div {
|
adf-empty-list-header >>> div {
|
||||||
height: 32px;
|
height: 32px;
|
||||||
opacity: 0.26 !important;
|
opacity: 0.26 !important;
|
||||||
font-family: Muli, Helvetica, Arial, sans-serif;
|
font-family: Muli, Helvetica, Arial, sans-serif;
|
||||||
@@ -69,3 +69,11 @@ adf-empty-list-header >>>>div {
|
|||||||
letter-spacing: -1px;
|
letter-spacing: -1px;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.adf-documentlist-pagination {
|
||||||
|
color: black;
|
||||||
|
|
||||||
|
.adf-pagination__block {
|
||||||
|
border-right: none;
|
||||||
|
}
|
||||||
|
}
|
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
AfterContentInit, Component, ContentChild, ElementRef, EventEmitter, HostListener, Input, NgZone,
|
AfterContentInit, Component, ContentChild, ElementRef, EventEmitter, HostListener, Input, NgZone,
|
||||||
OnChanges, OnInit, Output, SimpleChanges, TemplateRef, ViewChild
|
OnChanges, OnInit, Output, SimpleChanges, TemplateRef, ViewChild, ViewEncapsulation
|
||||||
} from '@angular/core';
|
} from '@angular/core';
|
||||||
import { MinimalNodeEntity, MinimalNodeEntryEntity, NodePaging, Pagination, PersonEntry } from 'alfresco-js-api';
|
import { MinimalNodeEntity, MinimalNodeEntryEntity, NodePaging, Pagination, PersonEntry } from 'alfresco-js-api';
|
||||||
import { AlfrescoApiService, DataColumnListComponent } from 'ng2-alfresco-core';
|
import { AlfrescoApiService, DataColumnListComponent } from 'ng2-alfresco-core';
|
||||||
@@ -33,8 +33,9 @@ declare var require: any;
|
|||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'adf-document-list, alfresco-document-list',
|
selector: 'adf-document-list, alfresco-document-list',
|
||||||
styleUrls: ['./document-list.component.css'],
|
styleUrls: ['./document-list.component.scss'],
|
||||||
templateUrl: './document-list.component.html'
|
templateUrl: './document-list.component.html',
|
||||||
|
encapsulation: ViewEncapsulation.None
|
||||||
})
|
})
|
||||||
export class DocumentListComponent implements OnInit, OnChanges, AfterContentInit {
|
export class DocumentListComponent implements OnInit, OnChanges, AfterContentInit {
|
||||||
|
|
||||||
|
@@ -92,7 +92,7 @@ export class NodeActionsService {
|
|||||||
select: new EventEmitter<MinimalNodeEntryEntity[]>()
|
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[]) => {
|
data.select.subscribe((selections: MinimalNodeEntryEntity[]) => {
|
||||||
const selection = selections[0];
|
const selection = selections[0];
|
||||||
|
Reference in New Issue
Block a user