Skip to content

Commit 7dc26d4

Browse files
committed
fixes
1 parent e4bc4e2 commit 7dc26d4

File tree

2 files changed

+34
-24
lines changed

2 files changed

+34
-24
lines changed

src/App.svelte

Lines changed: 32 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ We also need to update [${RESOURCE_BACKUP_NAME}](https://github.com/${REPO_FULL_
255255
<input
256256
id="query"
257257
bind:value={query}
258-
type="search"
258+
type="text"
259259
autocomplete="off"
260260
name="query"
261261
aria-label="Search models"
@@ -267,9 +267,9 @@ We also need to update [${RESOURCE_BACKUP_NAME}](https://github.com/${REPO_FULL_
267267
<ProviderDropdown bind:selectedProvider {providers} />
268268
</div>
269269

270-
<div class="advanced-filters">
271-
<div class="filter-item-inline">
272-
<label for="maxInputTokens">Min Input Tokens:</label>
270+
<div class="filters-row">
271+
<div class="filter-group">
272+
<label for="maxInputTokens">Min Input Tokens</label>
273273
<input
274274
id="maxInputTokens"
275275
bind:value={maxInputTokens}
@@ -279,8 +279,8 @@ We also need to update [${RESOURCE_BACKUP_NAME}](https://github.com/${REPO_FULL_
279279
class="filter-input"
280280
/>
281281
</div>
282-
<div class="filter-item-inline">
283-
<label for="maxOutputTokens">Min Output Tokens:</label>
282+
<div class="filter-group">
283+
<label for="maxOutputTokens">Min Output Tokens</label>
284284
<input
285285
id="maxOutputTokens"
286286
bind:value={maxOutputTokens}
@@ -549,14 +549,18 @@ We also need to update [${RESOURCE_BACKUP_NAME}](https://github.com/${REPO_FULL_
549549
width: 100%;
550550
padding: 0.875rem 1rem 0.875rem 3rem;
551551
font-size: 1rem;
552-
border: 1px solid var(--muted-border-color);
552+
border: 1px solid #d1d5db;
553553
border-radius: 8px;
554554
background-color: #ffffff;
555555
transition: all 0.2s ease;
556556
height: 48px;
557557
box-sizing: border-box;
558558
}
559559
560+
.search-input:hover {
561+
border-color: #9ca3af;
562+
}
563+
560564
.search-input:focus {
561565
outline: none;
562566
border-color: var(--litellm-primary);
@@ -567,33 +571,39 @@ We also need to update [${RESOURCE_BACKUP_NAME}](https://github.com/${REPO_FULL_
567571
color: var(--muted-color);
568572
}
569573
570-
/* Advanced Filters */
571-
.advanced-filters {
572-
display: flex;
574+
/* Filters */
575+
.filters-row {
576+
display: grid;
577+
grid-template-columns: 1fr 1fr;
573578
gap: 1rem;
574-
flex-wrap: wrap;
579+
margin-top: 1rem;
575580
}
576581
577-
.filter-item-inline {
582+
.filter-group {
578583
display: flex;
579-
align-items: center;
584+
flex-direction: column;
580585
gap: 0.5rem;
581586
}
582587
583-
.filter-item-inline label {
588+
.filter-group label {
584589
font-size: 0.875rem;
585-
color: var(--muted-color);
586-
white-space: nowrap;
590+
font-weight: 500;
591+
color: var(--contrast);
587592
}
588593
589594
.filter-input {
590-
padding: 0.5rem 0.75rem;
591-
font-size: 0.875rem;
592-
border: 1px solid var(--muted-border-color);
593-
border-radius: 6px;
594-
background-color: var(--card-background-color);
595+
padding: 0.875rem 1rem;
596+
font-size: 1rem;
597+
border: 1px solid #d1d5db;
598+
border-radius: 8px;
599+
background-color: #ffffff;
595600
transition: all 0.2s ease;
596-
width: 150px;
601+
height: 48px;
602+
box-sizing: border-box;
603+
}
604+
605+
.filter-input:hover {
606+
border-color: #9ca3af;
597607
}
598608
599609
.filter-input:focus {

src/ProviderDropdown.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
gap: 0.75rem;
121121
padding: 0.875rem 1rem;
122122
font-size: 1rem;
123-
border: 1px solid var(--muted-border-color);
123+
border: 1px solid #d1d5db;
124124
border-radius: 8px;
125125
background-color: #ffffff;
126126
cursor: pointer;
@@ -132,7 +132,7 @@
132132
}
133133
134134
.dropdown-trigger:hover {
135-
border-color: #6366f1;
135+
border-color: #9ca3af;
136136
}
137137
138138
.dropdown-trigger:focus {

0 commit comments

Comments
 (0)