Skip to content

Commit

Permalink
fix: tag remove icon
Browse files Browse the repository at this point in the history
  • Loading branch information
eiladin committed Jan 30, 2021
1 parent b894efe commit bf4c5b3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/app/config/config-site/config-site.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<mat-chip-list #tagList>
<mat-chip *ngFor="let tag of site.tags; let idx = index" [removable]="true" (removed)="removeTag(tag)">
{{tag.value}}
<mat-icon matChipRemove>cancel</mat-icon>
<mat-icon matChipRemove><span class="iconify icon chip-remove" data-icon="mdi-close-circle" matChipRemove (click)="removeTag(tag)"></span></mat-icon>
</mat-chip>
<input matInput placeholder="Tags" [matChipInputFor]="tagList" (matChipInputTokenEnd)="addTag($event)" />
</mat-chip-list>
Expand Down
9 changes: 9 additions & 0 deletions ui/src/app/config/config-site/config-site.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,13 @@

.card-input > * {
width: 100%;
}


.mat-chip-remove.chip-remove {
margin-left: 0;
}

.mat-standard-chip .mat-chip-remove.mat-icon {
opacity: 1.0;
}

0 comments on commit bf4c5b3

Please sign in to comment.