Update the display to show 95% of the width on small screens, else 635px (#2089)

update the display to show 95% of the width on small screens, else 635px
This commit is contained in:
Mr Simon C 2024-08-12 17:55:25 +01:00 committed by GitHub
parent 3b6a2fd2fa
commit 89c8fae15f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -112,7 +112,7 @@ export default function PromptInput({
className="flex flex-col gap-y-1 rounded-t-lg md:w-3/4 w-full mx-auto max-w-xl items-center" className="flex flex-col gap-y-1 rounded-t-lg md:w-3/4 w-full mx-auto max-w-xl items-center"
> >
<div className="flex items-center rounded-lg md:mb-4"> <div className="flex items-center rounded-lg md:mb-4">
<div className="w-[635px] bg-main-gradient shadow-2xl border border-white/50 rounded-2xl flex flex-col px-4 overflow-hidden"> <div className="w-[95vw] md:w-[635px] bg-main-gradient shadow-2xl border border-white/50 rounded-2xl flex flex-col px-4 overflow-hidden">
<AttachmentManager attachments={attachments} /> <AttachmentManager attachments={attachments} />
<div className="flex items-center w-full border-b-2 border-gray-500/50"> <div className="flex items-center w-full border-b-2 border-gray-500/50">
<textarea <textarea