Skip to content

Commit

Permalink
SNRGY-3532 Fix squishing of icon and label in Searchbar
Browse files Browse the repository at this point in the history
  • Loading branch information
gr-st committed Oct 4, 2024
1 parent 79fb323 commit 8310f49
Show file tree
Hide file tree
Showing 3 changed files with 291 additions and 298 deletions.
6 changes: 3 additions & 3 deletions src/app/core/components/searchbar/searchbar.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
-->

<div class="searchbar-container">
<mat-form-field appearance="outline" color="accent" fxFlex>
<mat-form-field appearance="outline" color="accent" floatLabel="always" fxFlex>
<mat-label>Search</mat-label>
<input (keyup)="changeSearchtext()" type="text" matInput placeholder="Please insert search text" [formControl]="formControl">
<mat-icon matPrefix *ngIf="formControl.value === ''">search</mat-icon>
<mat-icon class="pointer" matPrefix *ngIf="formControl.value !== ''" (click)="resetSearchtext()">close</mat-icon>
<input (keyup)="changeSearchtext()" type="text" matInput placeholder="Please insert search text" [formControl]="formControl">
<button matSuffix matTooltip="refresh" mat-icon-button (click)="changeSearchtext()">
<mat-icon>refresh</mat-icon>
<mat-icon>refresh</mat-icon>
</button>
</mat-form-field>
</div>
Loading

0 comments on commit 8310f49

Please sign in to comment.