From 5aabca06c0e833476762911b0e643775223541a8 Mon Sep 17 00:00:00 2001 From: miteruzo Date: Thu, 24 Jul 2025 12:33:43 +0900 Subject: [PATCH] #49 --- frontend/src/components/TagSearch.tsx | 2 +- frontend/src/components/TagSearchBox.tsx | 30 ++++++++++++------------ 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/frontend/src/components/TagSearch.tsx b/frontend/src/components/TagSearch.tsx index a266fe2..fc99a60 100644 --- a/frontend/src/components/TagSearch.tsx +++ b/frontend/src/components/TagSearch.tsx @@ -93,7 +93,7 @@ const TagSearch: React.FC = () => { onFocus={() => setSuggestionsVsbl (true)} onBlur={() => setSuggestionsVsbl (false)} onKeyDown={handleKeyDown} - className="w-full px-3 py-2 border rounded border-gray-600 bg-gray-800 text-white" /> + className="w-full px-3 py-2 border rounded dark:border-gray-600 dark:bg-gray-800 dark:text-white" /> diff --git a/frontend/src/components/TagSearchBox.tsx b/frontend/src/components/TagSearchBox.tsx index b57d002..381d908 100644 --- a/frontend/src/components/TagSearchBox.tsx +++ b/frontend/src/components/TagSearchBox.tsx @@ -3,26 +3,26 @@ import { cn } from '@/lib/utils' import type { Tag } from '@/types' type Props = { suggestions: Tag[] - activeIndex: number - onSelect: (tag: Tag) => void } + activeIndex: number + onSelect: (tag: Tag) => void } export default ({ suggestions, activeIndex, onSelect }: Props) => { if (!(suggestions.length)) - return null + return return ( -