UI: Add ellipsis to entity list and subtype list chip and fixed api usage state display value
This commit is contained in:
parent
f31f49b19f
commit
850bb69c4e
@ -128,6 +128,9 @@ export class EntityFilterViewComponent implements ControlValueAccessor {
|
||||
{edgeTypes});
|
||||
}
|
||||
break;
|
||||
case AliasFilterType.apiUsageState:
|
||||
this.filterDisplayValue = this.translate.instant('alias.filter-type-apiUsageState');
|
||||
break;
|
||||
case AliasFilterType.entityViewType:
|
||||
const entityViewTypesQuoted = [];
|
||||
this.filter.entityViewTypes.forEach((entityViewType) => {
|
||||
|
||||
@ -25,6 +25,7 @@
|
||||
<mat-chip-grid #chipList formControlName="entities">
|
||||
<mat-chip-row
|
||||
*ngFor="let entity of entities"
|
||||
class="tb-chip-row-ellipsis"
|
||||
[removable]="!disabled"
|
||||
(removed)="remove(entity)">
|
||||
{{entity.name}}
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
<mat-chip-grid #chipList formControlName="entitySubtypeList">
|
||||
<mat-chip-row
|
||||
*ngFor="let entitySubtype of entitySubtypeList"
|
||||
class="tb-chip-row-ellipsis"
|
||||
[removable]="!disabled"
|
||||
(removed)="remove(entitySubtype)">
|
||||
{{customTranslate(entitySubtype)}}
|
||||
|
||||
@ -1255,6 +1255,13 @@ pre.tb-highlight {
|
||||
}
|
||||
}
|
||||
|
||||
.tb-chip-row-ellipsis {
|
||||
overflow: hidden;
|
||||
.mdc-evolution-chip__cell--primary, .mdc-evolution-chip__text-label {
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
@media #{$mat-lt-md} {
|
||||
.mat-mdc-form-field {
|
||||
.mat-mdc-form-field-infix {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user