Skip to content
This repository has been archived by the owner on Jul 22, 2023. It is now read-only.

Commit

Permalink
move search icon to the beginning (#1117)
Browse files Browse the repository at this point in the history
  • Loading branch information
Epsilon02 authored Feb 2, 2022
1 parent dd9cb29 commit b735610
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
</mat-select>
</mat-form-field>
<mat-form-field class="width-100">
<mat-icon class="search-icon" matPrefix>search</mat-icon>
<mat-label>{{ t('searchButton') }}</mat-label>
<input matInput formControlName="userInput" [matAutocomplete]="auto" />
<span class="material-icons" matSuffix>search</span>
<mat-autocomplete #auto="matAutocomplete">
<mat-option
*ngFor="let result of suggestionResults.get(selections.at(i).get('searchOption')?.value)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,12 @@ form {
padding-top: 20px;
padding-bottom: 20px;
}

button {
font-size: 1.25em !important;
}

.search-icon {
padding-right: 5px;
font-size: 100%;
}

0 comments on commit b735610

Please sign in to comment.