Skip to content

Commit 5e905b1

Browse files
committed
Added filter to config name dropdown in hits page
Closes #1165
1 parent e76ad57 commit 5e905b1

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

openbullet2-web-client/src/app/main/components/hits/hits.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ <h6 class="color-inactive">
3939
class="ml-2"
4040
[(ngModel)]="configName"
4141
(ngModelChange)="refreshHits()"
42+
[filter]="true"
4243
[options]="configNames">
4344
<ng-template let-item pTemplate="selectedItem">
4445
<span>{{item | pascalcase : true}}</span>

openbullet2-web-client/src/styles/overrides.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,14 @@ p-chip.mt-2 > .p-chip {
218218
background-color: var(--bg-primary) !important;
219219
}
220220

221+
.p-dropdown-header {
222+
padding: 0 !important;
223+
}
224+
225+
.p-dropdown-filter {
226+
padding: 0 10px !important;
227+
}
228+
221229
.p-inputtext, .p-link {
222230
font-family: Poppins !important;
223231
}

0 commit comments

Comments
 (0)