mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4017] Fix several styling bugs (#4268)
This commit is contained in:
committed by
Eugenio Romano
parent
b35a7a21a8
commit
4703bbba2f
@@ -4,7 +4,7 @@
|
||||
[class.adf-data-table-card]="display === 'gallery'"
|
||||
[class.adf-data-table]="display === 'list'"
|
||||
[class.adf-data-table--empty]="!isHeaderVisible()">
|
||||
<div *ngIf="isHeaderVisible()" class="adf-datatable-header" role="rowgroup">
|
||||
<div *ngIf="showHeader && isHeaderVisible()" class="adf-datatable-header" role="rowgroup">
|
||||
<div class="adf-datatable-row" *ngIf="display === 'list'" role="row">
|
||||
<!-- Actions (left) -->
|
||||
<div *ngIf="actions && actionsPosition === 'left'" class="adf-actions-column adf-datatable-table-cell-header">
|
||||
|
@@ -497,6 +497,7 @@
|
||||
@include flex-column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: inherit;
|
||||
|
||||
.adf-datatable-body {
|
||||
.adf-datatable-row {
|
||||
|
@@ -641,7 +641,7 @@ export class DataTableComponent implements AfterContentInit, OnChanges, DoCheck,
|
||||
}
|
||||
|
||||
isHeaderVisible() {
|
||||
return this.showHeader && !this.loading && !this.isEmpty() && !this.noPermission;
|
||||
return !this.loading && !this.isEmpty() && !this.noPermission;
|
||||
}
|
||||
|
||||
private emitRowSelectionEvent(name: string, row: DataRow) {
|
||||
|
Reference in New Issue
Block a user