aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/dashboard
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/components/dashboard')
-rw-r--r--apps/web/components/dashboard/lists/EditListModal.tsx14
-rw-r--r--apps/web/components/dashboard/search/SearchInput.tsx2
2 files changed, 9 insertions, 7 deletions
diff --git a/apps/web/components/dashboard/lists/EditListModal.tsx b/apps/web/components/dashboard/lists/EditListModal.tsx
index 68d32b0a..7a750c33 100644
--- a/apps/web/components/dashboard/lists/EditListModal.tsx
+++ b/apps/web/components/dashboard/lists/EditListModal.tsx
@@ -358,14 +358,16 @@ export function EditListModal({
value={field.value}
onChange={field.onChange}
placeholder={t("lists.search_query")}
+ endIcon={
+ parsedSearchQuery ? (
+ <QueryExplainerTooltip
+ className="stroke-foreground p-1"
+ parsedSearchQuery={parsedSearchQuery}
+ />
+ ) : undefined
+ }
/>
</FormControl>
- {parsedSearchQuery && (
- <QueryExplainerTooltip
- className="translate-1/2 absolute right-1.5 top-2 stroke-foreground p-0.5"
- parsedSearchQuery={parsedSearchQuery}
- />
- )}
</div>
<FormDescription>
<Link
diff --git a/apps/web/components/dashboard/search/SearchInput.tsx b/apps/web/components/dashboard/search/SearchInput.tsx
index c58542bf..e60c460c 100644
--- a/apps/web/components/dashboard/search/SearchInput.tsx
+++ b/apps/web/components/dashboard/search/SearchInput.tsx
@@ -100,7 +100,7 @@ const SearchInput = React.forwardRef<
</Button>
)}
<Input
- startIcon={SearchIcon}
+ startIcon={<SearchIcon size={18} className="text-muted-foreground" />}
ref={inputRef}
value={value}
onChange={onChange}