@ -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>
@ -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;