divying it up

This commit is contained in:
Seth Forsgren 2022-11-23 23:32:29 -08:00
parent 43cc9efd09
commit 847af95ead
1 changed files with 14 additions and 14 deletions

View File

@ -17,8 +17,6 @@ const PromptPanel = (props: PromptPanelProps) => {
{prompts.map((prompt, index) => (
<PromptEntry prompt={prompt.prompt} className={promptEntryClassNames[index]} key={index} />
))}
</div>
</main>
<form onSubmit={(e) => {
e.preventDefault();
@ -26,13 +24,15 @@ const PromptPanel = (props: PromptPanelProps) => {
addPrompt(prompt);
}}>
<input
className="fixed z-90 bottom-20 right-1/4 w-1/2 h-12 pl-3 text-xl text-black rounded-lg border-sky-500 border-2"
className="fixed z-90 bottom-20 w-1/2 h-12 pl-3 text-xl text-black rounded-lg border-sky-500 border-2"
type="text"
id="prompt"
name="prompt"
placeholder="What do you want to hear?"
/>
</form>
</div>
</main>
</>
)
}