From facfaa190a285cccabc4200c097ee5116dabd31f Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Tue, 12 Mar 2024 10:03:00 +0700 Subject: [PATCH] feat: quick ask support darkmode (#2316) --- web/app/search/SelectedText.tsx | 8 ++++---- web/app/search/UserInput.tsx | 5 ++--- web/app/search/page.tsx | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/web/app/search/SelectedText.tsx b/web/app/search/SelectedText.tsx index 742eba956..2bb90775e 100644 --- a/web/app/search/SelectedText.tsx +++ b/web/app/search/SelectedText.tsx @@ -29,15 +29,15 @@ const SelectedText = ({ onCleared }: { onCleared?: () => void }) => { return shouldShowSelectedText ? (
- +
-

{text}

+

{text}

) : (
diff --git a/web/app/search/UserInput.tsx b/web/app/search/UserInput.tsx index 3bf148f40..85cb9843e 100644 --- a/web/app/search/UserInput.tsx +++ b/web/app/search/UserInput.tsx @@ -56,7 +56,7 @@ const UserInput: React.FC = () => { } return ( -
+
{ {
- inputRef?.current?.focus()} />
) diff --git a/web/app/search/page.tsx b/web/app/search/page.tsx index 0822c2676..912a843bb 100644 --- a/web/app/search/page.tsx +++ b/web/app/search/page.tsx @@ -4,7 +4,7 @@ import UserInput from './UserInput' const Search: React.FC = () => { return ( -
+
)