Browse Source

[PROD-3645] [FIX] refactoring

pull/11007/head
mpetrov 2 years ago
parent
commit
0b55fd5632
  1. 2
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-service-rpc-connector-templates.component.html
  2. 4
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-service-rpc-connector-templates.component.scss

2
ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-service-rpc-connector-templates.component.html

@ -19,7 +19,7 @@
<mat-expansion-panel hideToggle *ngFor="let template of rpcTemplates"> <mat-expansion-panel hideToggle *ngFor="let template of rpcTemplates">
<mat-expansion-panel-header> <mat-expansion-panel-header>
<mat-panel-title class="template-name"> <mat-panel-title class="template-name">
<span matTooltip="{{template.name}}">{{template.name}}</span> <span matTooltip="{{template.name}}" matTooltipPosition="above">{{template.name}}</span>
</mat-panel-title> </mat-panel-title>
<mat-panel-description> <mat-panel-description>
<button mat-icon-button matTooltip="Delete" (click)="deleteTemplate($event, template)"> <button mat-icon-button matTooltip="Delete" (click)="deleteTemplate($event, template)">

4
ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-service-rpc-connector-templates.component.scss

@ -100,12 +100,12 @@
align-items: center; align-items: center;
} }
::ng-deep .mat-expansion-panel-header-title { .mat-expansion-panel-header-title {
flex: 1; flex: 1;
margin: 0; margin: 0;
} }
::ng-deep .mat-expansion-panel-header-description { .mat-expansion-panel-header-description {
flex: 0; flex: 0;
} }
} }

Loading…
Cancel
Save