mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-06-30 18:15:11 +00:00
datatable demo mobile improvement (#2711)
This commit is contained in:
parent
bc48a3923e
commit
88b788fc48
@ -8,3 +8,9 @@ adf-datatable ::ng-deep .custom-row-style.alfresco-datatable__row:focus {
|
|||||||
adf-datatable ::ng-deep .custom-row-style.alfresco-datatable__row--selected {
|
adf-datatable ::ng-deep .custom-row-style.alfresco-datatable__row--selected {
|
||||||
color: green;
|
color: green;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
adf-datatable ::ng-deep table {
|
||||||
|
max-width: 100%;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: normal !important;
|
||||||
|
}
|
||||||
|
@ -83,10 +83,10 @@ export class DataTableComponent {
|
|||||||
],
|
],
|
||||||
[
|
[
|
||||||
{ type: 'image', key: 'icon', title: '', srTitle: 'Thumbnail' },
|
{ type: 'image', key: 'icon', title: '', srTitle: 'Thumbnail' },
|
||||||
{ type: 'text', key: 'id', title: 'Id', sortable: true },
|
{ type: 'text', key: 'id', title: 'Id', sortable: true , cssClass: 'desktop-only'},
|
||||||
{ type: 'text', key: 'createdOn', title: 'Created On', sortable: true },
|
{ type: 'text', key: 'createdOn', title: 'Created On', sortable: true },
|
||||||
{ type: 'text', key: 'name', title: 'Name', cssClass: 'full-width name-column', sortable: true },
|
{ type: 'text', key: 'name', title: 'Name', cssClass: 'full-width name-column', sortable: true },
|
||||||
{ type: 'text', key: 'createdBy.name', title: 'Created By', sortable: true }
|
{ type: 'text', key: 'createdBy.name', title: 'Created By', sortable: true, cssClass: 'desktop-only'}
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user