Skip to content
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
4 changes: 2 additions & 2 deletions src/app/pages/farmers/farmers.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,13 +160,13 @@ <h2 class="mb-0"><span class="counter-value">{{ launcher.estimated_size | filesi
<div class="card">
<div class="card-header align-items-center d-flex">
<h4 class="card-title mb-0 flex-grow-1">Farmers List</h4>
<div class="form-check form-switch">
<div class="form-check form-switch me-3">
<input class="form-check-input" type="checkbox" role="switch" id="show_all_farmers"
(change)="toggleShowAllFarmers($event)" [checked]="show_all_farmers">
<label class="form-check-label" for="show_all_farmers">All farmers</label>
</div>
<div class="ms-auto">
<div class="input-group" style="max-width: 320px;">
<div class="input-group farmers-search">
<span class="input-group-text"><i class="ri-search-line"></i></span>
<input type="text" class="form-control" placeholder="Search farmers" aria-label="Search farmers"
[value]="searchTerm" (input)="onSearchInput($event)" autocomplete="off">
Expand Down
9 changes: 9 additions & 0 deletions src/app/pages/farmers/farmers.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,12 @@
.td-center {
text-align: center;
}

.farmers-search {
max-width: 320px;

.form-control {
height: 38px;
font-size: 0.875rem;
}
}
Loading