Increased reserved space for hidden action cell buttons in alarms, entities, timeseries table widgets
This commit is contained in:
parent
3f187abb2f
commit
1bee9078e6
@ -127,7 +127,7 @@
|
|||||||
width: (alarmsDatasource.countCellButtonAction * 48) + 'px' }">
|
width: (alarmsDatasource.countCellButtonAction * 48) + 'px' }">
|
||||||
<div [fxHide]="showCellActionsMenu" fxShow.gt-md fxFlex fxLayout="row" fxLayoutAlign="end">
|
<div [fxHide]="showCellActionsMenu" fxShow.gt-md fxFlex fxLayout="row" fxLayoutAlign="end">
|
||||||
<ng-container *ngFor="let actionDescriptor of alarm.actionCellButtons; trackBy: trackByActionCellDescriptionId">
|
<ng-container *ngFor="let actionDescriptor of alarm.actionCellButtons; trackBy: trackByActionCellDescriptionId">
|
||||||
<span *ngIf="!actionDescriptor.icon" style="width: 40px;"></span>
|
<span *ngIf="!actionDescriptor.icon" style="width: 48px;"></span>
|
||||||
<button mat-icon-button [disabled]="(isLoading$ | async) || !actionEnabled(alarm, actionDescriptor)"
|
<button mat-icon-button [disabled]="(isLoading$ | async) || !actionEnabled(alarm, actionDescriptor)"
|
||||||
*ngIf="actionDescriptor.icon"
|
*ngIf="actionDescriptor.icon"
|
||||||
matTooltip="{{ actionDescriptor.displayName }}"
|
matTooltip="{{ actionDescriptor.displayName }}"
|
||||||
|
|||||||
@ -57,7 +57,7 @@
|
|||||||
width: (entityDatasource.countCellButtonAction * 48) + 'px' }">
|
width: (entityDatasource.countCellButtonAction * 48) + 'px' }">
|
||||||
<div [fxHide]="showCellActionsMenu && entityDatasource.countCellButtonAction !== 1" fxShow.gt-md fxFlex fxLayout="row" fxLayoutAlign="end">
|
<div [fxHide]="showCellActionsMenu && entityDatasource.countCellButtonAction !== 1" fxShow.gt-md fxFlex fxLayout="row" fxLayoutAlign="end">
|
||||||
<ng-container *ngFor="let actionDescriptor of entity.actionCellButtons; trackBy: trackByActionCellDescriptionId">
|
<ng-container *ngFor="let actionDescriptor of entity.actionCellButtons; trackBy: trackByActionCellDescriptionId">
|
||||||
<span *ngIf="!actionDescriptor.icon" style="width: 40px;"></span>
|
<span *ngIf="!actionDescriptor.icon" style="width: 48px;"></span>
|
||||||
<button mat-icon-button [disabled]="isLoading$ | async"
|
<button mat-icon-button [disabled]="isLoading$ | async"
|
||||||
*ngIf="actionDescriptor.icon"
|
*ngIf="actionDescriptor.icon"
|
||||||
matTooltip="{{ actionDescriptor.displayName }}"
|
matTooltip="{{ actionDescriptor.displayName }}"
|
||||||
|
|||||||
@ -69,7 +69,7 @@
|
|||||||
width: (source.timeseriesDatasource.countCellButtonAction * 48) + 'px' }">
|
width: (source.timeseriesDatasource.countCellButtonAction * 48) + 'px' }">
|
||||||
<div [fxHide]="showCellActionsMenu && source.timeseriesDatasource.countCellButtonAction !== 1" fxShow.gt-md fxFlex fxLayout="row" fxLayoutAlign="end">
|
<div [fxHide]="showCellActionsMenu && source.timeseriesDatasource.countCellButtonAction !== 1" fxShow.gt-md fxFlex fxLayout="row" fxLayoutAlign="end">
|
||||||
<ng-container *ngFor="let actionDescriptor of row.actionCellButtons; trackBy: trackByActionCellDescriptionId">
|
<ng-container *ngFor="let actionDescriptor of row.actionCellButtons; trackBy: trackByActionCellDescriptionId">
|
||||||
<span *ngIf="!actionDescriptor.icon" style="width: 40px;"></span>
|
<span *ngIf="!actionDescriptor.icon" style="width: 48px;"></span>
|
||||||
<button *ngIf="actionDescriptor.icon"
|
<button *ngIf="actionDescriptor.icon"
|
||||||
mat-icon-button [disabled]="isLoading$ | async"
|
mat-icon-button [disabled]="isLoading$ | async"
|
||||||
matTooltip="{{ actionDescriptor.displayName }}"
|
matTooltip="{{ actionDescriptor.displayName }}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user