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

move search icon to the beginning #1117

Merged
merged 2 commits into from
Feb 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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%;
}