Skip to content

Commit

Permalink
Merge pull request #327 from UTDNebula/fix-for-utd-grades-ad-covering…
Browse files Browse the repository at this point in the history
…-search

Fix for UTD Grades Ad covering searchbar on android firefox when keyboard is open
  • Loading branch information
TyHil authored Nov 22, 2024
2 parents 775c602 + 3d40649 commit 6972a70
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ const Home: NextPage = () => {
/>
<meta property="og:url" content="https://trends.utdnebula.com" />
</Head>
<div className="relative bg-lighten dark:bg-darken h-full w-full flex justify-center items-center p-8">
<div className="relative bg-lighten dark:bg-darken h-full w-full flex flex-col items-center gap-4 px-8 py-4">
<Image
src={Background}
alt="gradient background"
fill
className="object-cover -z-20"
/>
<div className="max-w-xl">
<div className="max-w-xl grow flex flex-col justify-center">
<h2 className="text-sm font-semibold mb-3 text-cornflower-600 dark:text-cornflower-400 tracking-wider">
POWERED BY {/*eslint-disable-next-line react/jsx-no-target-blank*/}
<a
Expand All @@ -73,7 +73,6 @@ const Home: NextPage = () => {
// eslint-disable-next-line jsx-a11y/no-autofocus
autoFocus={true}
onSelect={searchOptionChosen}
className="mb-3"
input_className="[&>.MuiInputBase-root]:bg-white [&>.MuiInputBase-root]:dark:bg-haiti"
/>
</div>
Expand All @@ -82,7 +81,7 @@ const Home: NextPage = () => {
href="https://utdgrades.com/"
target="_blank"
rel="noopener"
className="absolute bottom-4 bg-white dark:bg-black text-black dark:text-white py-3 px-5 rounded transition hover:scale-[1.01]"
className="bg-white dark:bg-black text-black dark:text-white py-3 px-5 rounded transition hover:scale-[1.01]"
>
Also check out <b>UTD Grades</b>
</a>
Expand Down

0 comments on commit 6972a70

Please sign in to comment.