fixing scrolling on mobile

This commit is contained in:
Seth Forsgren 2022-12-08 13:16:26 -08:00
parent 83e2a372a7
commit d2ab9b1e8d
1 changed files with 2 additions and 2 deletions

View File

@ -129,9 +129,9 @@ export default function PromptPanel({
return (
<>
<main className="sm:w-2/3 min-h-screen">
<main className="fixed sm:flex sm:w-2/3 sm:min-h-screen">
<div className="pl-10 pr-10 sm:pl-20">
<div className="h-[80vh] flex flex-col justify-around pt-[10vh] pr-5">
<div className="h-[78vh] sm:h-[80vh] flex flex-col justify-around pt-[10vh] pr-5">
{getDisplayPrompts().map((prompt, index) => (
<PromptEntry
prompt={prompt.prompt + " "}