diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/alarms-table-widget.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/alarms-table-widget.component.html index d99ae2216e..5228fff081 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/alarms-table-widget.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/alarms-table-widget.component.html @@ -70,7 +70,7 @@ [indeterminate]="alarmsDatasource.selection.hasValue() && !(alarmsDatasource.isAllSelected() | async)"> - + @@ -122,7 +122,7 @@ maxWidth: (alarmsDatasource.countCellButtonAction * 48) + 'px', width: (alarmsDatasource.countCellButtonAction * 48) + 'px' }"> -
diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/entities-table-widget.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/entities-table-widget.component.html index d8039efe17..c18a6bab14 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/entities-table-widget.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/entities-table-widget.component.html @@ -52,7 +52,7 @@ maxWidth: (entityDatasource.countCellButtonAction * 48) + 'px', width: (entityDatasource.countCellButtonAction * 48) + 'px' }"> -
diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/table-widget.models.ts b/ui-ngx/src/app/modules/home/components/widget/lib/table-widget.models.ts index be447d1dde..5110b6121d 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/table-widget.models.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/table-widget.models.ts @@ -452,7 +452,7 @@ export function constructTableCssString(widgetConfig: WidgetConfig): string { '.mat-mdc-table .mat-mdc-row .mat-mdc-cell.mat-mdc-table-sticky, .mat-mdc-table .mat-mdc-header-cell.mat-mdc-table-sticky {\n' + 'background-color: ' + origBackgroundColor + ';\n' + '}\n' + - '.mat-mdc-table .mat-mdc-cell {\n' + + '.mat-mdc-table .mat-mdc-row {\n' + 'color: ' + mdDark + ';\n' + 'background-color: rgba(0, 0, 0, 0);\n' + '}\n' + diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/timeseries-table-widget.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/timeseries-table-widget.component.html index 87283ec8ca..b07f490dcc 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/timeseries-table-widget.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/timeseries-table-widget.component.html @@ -64,7 +64,7 @@ maxWidth: (source.timeseriesDatasource.countCellButtonAction * 48) + 'px', width: (source.timeseriesDatasource.countCellButtonAction * 48) + 'px' }"> -
@@ -74,22 +74,22 @@ mat-icon-button [disabled]="isLoading$ | async" matTooltip="{{ actionDescriptor.displayName }}" matTooltipPosition="above" - (click)="onActionButtonClick($event, row, actionDescriptor)"> + (click)="onActionButtonClick($event, entity, actionDescriptor)"> {{actionDescriptor.icon}}
-
+
- + diff --git a/ui-ngx/src/styles.scss b/ui-ngx/src/styles.scss index 8e6a9dde75..a2810d925e 100644 --- a/ui-ngx/src/styles.scss +++ b/ui-ngx/src/styles.scss @@ -692,6 +692,21 @@ mat-label { margin: 0; } + .tb-table-widget { + .mat-mdc-table { + .mat-mdc-cell { + background: inherit; + color: inherit; + font-size: inherit; + font-family: inherit; + font-weight: inherit; + line-height: inherit; + letter-spacing: inherit; + text-transform: inherit; + } + } + } + .mat-mdc-footer-row::after, .mat-mdc-header-row::after, .mat-mdc-row::after { content: none; }