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});
|
{edgeTypes});
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case AliasFilterType.apiUsageState:
|
||||||
|
this.filterDisplayValue = this.translate.instant('alias.filter-type-apiUsageState');
|
||||||
|
break;
|
||||||
case AliasFilterType.entityViewType:
|
case AliasFilterType.entityViewType:
|
||||||
const entityViewTypesQuoted = [];
|
const entityViewTypesQuoted = [];
|
||||||
this.filter.entityViewTypes.forEach((entityViewType) => {
|
this.filter.entityViewTypes.forEach((entityViewType) => {
|
||||||
|
|||||||
@ -25,6 +25,7 @@
|
|||||||
<mat-chip-grid #chipList formControlName="entities">
|
<mat-chip-grid #chipList formControlName="entities">
|
||||||
<mat-chip-row
|
<mat-chip-row
|
||||||
*ngFor="let entity of entities"
|
*ngFor="let entity of entities"
|
||||||
|
class="tb-chip-row-ellipsis"
|
||||||
[removable]="!disabled"
|
[removable]="!disabled"
|
||||||
(removed)="remove(entity)">
|
(removed)="remove(entity)">
|
||||||
{{entity.name}}
|
{{entity.name}}
|
||||||
|
|||||||
@ -22,6 +22,7 @@
|
|||||||
<mat-chip-grid #chipList formControlName="entitySubtypeList">
|
<mat-chip-grid #chipList formControlName="entitySubtypeList">
|
||||||
<mat-chip-row
|
<mat-chip-row
|
||||||
*ngFor="let entitySubtype of entitySubtypeList"
|
*ngFor="let entitySubtype of entitySubtypeList"
|
||||||
|
class="tb-chip-row-ellipsis"
|
||||||
[removable]="!disabled"
|
[removable]="!disabled"
|
||||||
(removed)="remove(entitySubtype)">
|
(removed)="remove(entitySubtype)">
|
||||||
{{customTranslate(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} {
|
@media #{$mat-lt-md} {
|
||||||
.mat-mdc-form-field {
|
.mat-mdc-form-field {
|
||||||
.mat-mdc-form-field-infix {
|
.mat-mdc-form-field-infix {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user