Skip to content

Commit

Permalink
styled clear button in search input
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Allien committed Jan 9, 2018
1 parent 0b2e396 commit f6e13c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
placeholder="Search Addresses">

<mat-icon *ngIf="query" (click)="query=''" matTooltip="Clear" fontSet="partIcon"
fontIcon="part-circle-remove"></mat-icon>
fontIcon="part-cross"></mat-icon>

<mat-icon *ngIf="!query" fontSet="partIcon" fontIcon="part-search" fxHide.lt-md matTooltip="Search For Address"
matTooltipPosition="before"></mat-icon>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,8 @@ app-header {
top: 4px;
right: 18px;
font-size: 14px;
&.part-cross {
color: $color-alert;
}
}
}

0 comments on commit f6e13c4

Please sign in to comment.