File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,21 +12,21 @@ import { Separator } from "@/components/ui/separator";
1212
1313export default async function Home ( ) {
1414 return (
15- < div className = "h-screen flex flex-col items-center" >
15+ < div className = "flex flex-col items-center overflow-hidden " >
1616 { /* TopBar */ }
1717 < NavigationMenu />
1818
19- < div className = "flex flex-col justify-center items-center mt-8 md:mt-32 max-w-[90%]" >
19+ < div className = "flex flex-col justify-center items-center mt-8 mb-8 md:mt-18 max-w-[90%]" >
2020 < div className = "max-h-44 w-auto" >
2121 < Image
2222 src = { logoDark }
23- className = "w-full h-full hidden dark:block"
23+ className = "h-18 md:h-40 w-auto hidden dark:block"
2424 alt = { "Sourcebot logo" }
2525 priority = { true }
2626 />
2727 < Image
2828 src = { logoLight }
29- className = "w-full h-full block dark:hidden"
29+ className = "h-18 md:h-40 w-auto block dark:hidden"
3030 alt = { "Sourcebot logo" }
3131 priority = { true }
3232 />
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ export default function SearchPage() {
103103 < div className = "flex flex-row justify-between items-center py-1.5 px-3 gap-4" >
104104 < div className = "grow flex flex-row gap-4 items-center" >
105105 < div
106- className = "cursor-pointer"
106+ className = "shrink-0 cursor-pointer"
107107 onClick = { ( ) => {
108108 router . push ( "/" ) ;
109109 } }
Original file line number Diff line number Diff line change @@ -86,6 +86,8 @@ export const SearchBar = ({
8686 { ...field }
8787 ref = { inputRef }
8888 autoFocus = { autoFocus ?? false }
89+ // This is needed to prevent mobile browsers from zooming in when the input is focused
90+ style = { { fontSize : '1rem' } }
8991 />
9092 </ FormControl >
9193 < FormMessage />
You can’t perform that action at this time.
0 commit comments