feat: support media files upload via paste and drop

This commit is contained in:
codytseng 2025-05-09 23:23:17 +08:00
parent 533e00d4ee
commit 4bfdd4f334
20 changed files with 162 additions and 85 deletions

View file

@ -4,7 +4,7 @@ import Content from '../Content'
export default function Preview({ content }: { content: string }) {
return (
<Card className="p-3">
<Card className="p-3 min-h-52">
<Content
event={{
content,
@ -15,7 +15,7 @@ export default function Preview({ content }: { content: string }) {
pubkey: '',
sig: ''
}}
className="pointer-events-none"
className="pointer-events-none h-full"
/>
</Card>
)