mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
[ADF-3119] Document list styles refactored for datatable thumbnails (#3766)
This commit is contained in:
parent
42d6d2351a
commit
a1bc382074
@ -20,7 +20,8 @@
|
||||
(rowClick)="onNodeClick($event.value?.node)"
|
||||
(rowDblClick)="onNodeDblClick($event.value?.node)"
|
||||
(row-select)="onNodeSelect($event.detail)"
|
||||
(row-unselect)="onNodeUnselect($event.detail)">
|
||||
(row-unselect)="onNodeUnselect($event.detail)"
|
||||
[class.adf-datatable-gallery-thumbnails]="data.thumbnails">
|
||||
|
||||
<div *ngIf="!isEmptyTemplateDefined()">
|
||||
<no-content-template>
|
||||
|
@ -152,4 +152,28 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.adf-datatable-gallery-thumbnails {
|
||||
.adf-data-table-card .adf-datatable-row {
|
||||
height: 300px !important;
|
||||
|
||||
img {
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
:first-child .cell-container .cell-value {
|
||||
display: flex;
|
||||
width: 265px;
|
||||
flex: 0 0 auto;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.adf-data-table-cell.adf-datatable-table-cell.adf-data-table-cell--image {
|
||||
flex: 0 0 auto;
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -45,7 +45,7 @@
|
||||
max-width: 288px !important;
|
||||
min-width: 288px !important;
|
||||
|
||||
height: 200px !important;
|
||||
height: 200px;
|
||||
|
||||
overflow: hidden !important;
|
||||
margin: 6px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user