search screen 80% width max

This commit is contained in:
2024-12-25 16:07:06 +08:00
parent 32935d9742
commit 60b1481dab

View File

@@ -47,7 +47,7 @@ export default function Search(props: {
return ( return (
<Dialog open={props.show} onOpenChange={props.setShow}> <Dialog open={props.show} onOpenChange={props.setShow}>
<DialogContent className="sm:max-w-[425px]"> <DialogContent className="sm:max-w-[80%]">
<DialogHeader> <DialogHeader>
<DialogTitle>Search</DialogTitle> <DialogTitle>Search</DialogTitle>
<DialogDescription>Search messages by content.</DialogDescription> <DialogDescription>Search messages by content.</DialogDescription>