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' }">
 | 
			
		||||
            <div [fxHide]="showCellActionsMenu" fxShow.gt-md fxFlex fxLayout="row" fxLayoutAlign="end">
 | 
			
		||||
              <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)"
 | 
			
		||||
                        *ngIf="actionDescriptor.icon"
 | 
			
		||||
                        matTooltip="{{ actionDescriptor.displayName }}"
 | 
			
		||||
 | 
			
		||||
@ -57,7 +57,7 @@
 | 
			
		||||
                                                                width: (entityDatasource.countCellButtonAction * 48) + 'px' }">
 | 
			
		||||
            <div [fxHide]="showCellActionsMenu && entityDatasource.countCellButtonAction !== 1" fxShow.gt-md fxFlex fxLayout="row" fxLayoutAlign="end">
 | 
			
		||||
              <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"
 | 
			
		||||
                        *ngIf="actionDescriptor.icon"
 | 
			
		||||
                        matTooltip="{{ actionDescriptor.displayName }}"
 | 
			
		||||
 | 
			
		||||
@ -69,7 +69,7 @@
 | 
			
		||||
                                                                   width: (source.timeseriesDatasource.countCellButtonAction * 48) + 'px' }">
 | 
			
		||||
                  <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">
 | 
			
		||||
                      <span *ngIf="!actionDescriptor.icon" style="width: 40px;"></span>
 | 
			
		||||
                      <span *ngIf="!actionDescriptor.icon" style="width: 48px;"></span>
 | 
			
		||||
                      <button *ngIf="actionDescriptor.icon"
 | 
			
		||||
                              mat-icon-button [disabled]="isLoading$ | async"
 | 
			
		||||
                              matTooltip="{{ actionDescriptor.displayName }}"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user