mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-28 11:39:52 +02:00
Update autofouc on roadmap generator
This commit is contained in:
@@ -484,7 +484,6 @@ export function GenerateRoadmap() {
|
|||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
autoFocus
|
|
||||||
placeholder="e.g. Try searching for Ansible or DevOps"
|
placeholder="e.g. Try searching for Ansible or DevOps"
|
||||||
className="flex-grow rounded-md border border-gray-400 px-3 py-2 transition-colors focus:border-black focus:outline-none"
|
className="flex-grow rounded-md border border-gray-400 px-3 py-2 transition-colors focus:border-black focus:outline-none"
|
||||||
value={roadmapTerm}
|
value={roadmapTerm}
|
||||||
|
@@ -41,7 +41,7 @@ export function RoadmapSearch(props: RoadmapSearchProps) {
|
|||||||
const randomTerms = ['OAuth', 'APIs', 'UX Design', 'gRPC'];
|
const randomTerms = ['OAuth', 'APIs', 'UX Design', 'gRPC'];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-grow flex-col items-center justify-center px-4 py-6 sm:px-6">
|
<div className="flex flex-grow flex-col items-center sm:justify-center px-4 py-6 sm:px-6">
|
||||||
{isConfiguring && (
|
{isConfiguring && (
|
||||||
<OpenAISettings
|
<OpenAISettings
|
||||||
onClose={() => {
|
onClose={() => {
|
||||||
@@ -159,7 +159,7 @@ export function RoadmapSearch(props: RoadmapSearchProps) {
|
|||||||
</button>
|
</button>
|
||||||
)}
|
)}
|
||||||
</p>
|
</p>
|
||||||
<p className="-mt-[75px] sm:-mt-[45px] flex min-h-[46px] sm:min-h-[26px] items-center text-sm">
|
<p className="-mt-[75px] sm:-mt-[46px] flex min-h-[46px] sm:min-h-[26px] items-center text-sm">
|
||||||
{limit > 0 && isLoggedIn() && !openAPIKey && (
|
{limit > 0 && isLoggedIn() && !openAPIKey && (
|
||||||
<button
|
<button
|
||||||
onClick={() => setIsConfiguring(true)}
|
onClick={() => setIsConfiguring(true)}
|
||||||
|
Reference in New Issue
Block a user