From 3b28433559d7241a75a1bdd17078f7557c9ed458 Mon Sep 17 00:00:00 2001 From: Nathan Wang Date: Mon, 25 Dec 2023 23:54:13 -0800 Subject: [PATCH] fix styling on usaco problems search interface --- src/components/settings/ProblemSearchInterface.tsx | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/components/settings/ProblemSearchInterface.tsx b/src/components/settings/ProblemSearchInterface.tsx index 2e075b3..2d7341e 100644 --- a/src/components/settings/ProblemSearchInterface.tsx +++ b/src/components/settings/ProblemSearchInterface.tsx @@ -36,9 +36,7 @@ const FileSearch = ({ id={`problem-select`} className="mt-0 block w-full px-0 pt-0 pb-1 border-0 border-b-2 border-gray-200 focus:ring-0 focus:border-black text-sm placeholder-gray-400" value={currentRefinement} - placeholder={ - 'e.g. http://www.usaco.org/index.php?page=viewproblem2&cpid=1140' - } + placeholder={'e.g. Train Scheduling'} onChange={e => refine(e.target.value)} // disabled={!canChange} autoComplete="off" @@ -60,27 +58,27 @@ const FileSearch = ({ {currentRefinement !== '' && (
-
+
{hits.map(hit => ( ))}
-
+