Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for UTD Grades Ad covering searchbar on android firefox when keyboard is open #327

Merged
merged 3 commits into from
Nov 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading