From ccadb58979cc6659c228c4db58138e7c7a15580d Mon Sep 17 00:00:00 2001 From: filantrop <filantrop83@gmail.com> Date: Thu, 8 Sep 2022 13:40:54 +0300 Subject: [PATCH] fix styles --- src/components/MainSection.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/MainSection.tsx b/src/components/MainSection.tsx index 21ac885..d0b250c 100644 --- a/src/components/MainSection.tsx +++ b/src/components/MainSection.tsx @@ -34,7 +34,7 @@ export default function MainSection<T, H>({ const [query, setQuery] = useState(""); // Query const onChange = (query: string) => { - //console.log(query) + console.log(query) setQuery(query); setHints(hintsValues); }; @@ -49,11 +49,11 @@ export default function MainSection<T, H>({ }; //empty items message const IsEmptyItems = () => { - return <p className="tex-blue-500">Nothing Found</p>; + return <p className="text-blue-500">Nothing Found</p>; }; return ( - <div className="bg-main bg-center bg-cover bg-origin-border bg-no-repeat h-full py-32 px-2 sm:px-6 md:px-6 lg:px-0"> + <section className="bg-main bg-center bg-cover bg-origin-border bg-no-repeat min-h-[100vh] py-32 px-2 sm:px-6 md:px-6 lg:px-0"> <div className="m-auto text-center font-bold text-4xl "> Scientific Library with Free Access </div> @@ -99,6 +99,6 @@ export default function MainSection<T, H>({ Advanced Search </div> </div> - </div> + </section> ); }