Browse Source

[PROD-3645] [FIX] Added max width to the display of the template name

pull/11007/head
mpetrov 2 years ago
parent
commit
8e11d04a86
  1. 2
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-service-rpc-connector-templates.component.html
  2. 13
      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

@ -18,7 +18,7 @@
<div class="mat-subtitle-1 title">{{ 'gateway.rpc.templates-title' | translate }}</div>
<mat-expansion-panel hideToggle *ngFor="let template of rpcTemplates">
<mat-expansion-panel-header>
<mat-panel-title>
<mat-panel-title class="template-name">
{{template.name}}
</mat-panel-title>
<mat-panel-description>

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

@ -89,6 +89,19 @@
}
}
.template-name {
max-width: 170px;
overflow: scroll;
}
::ng-deep .mat-expansion-panel-header-title {
flex: 1;
margin: 0;
}
::ng-deep .mat-expansion-panel-header-description {
flex: 0;
}
}

Loading…
Cancel
Save