Close canvas while streaming (#500)

This commit is contained in:
Jeremy 2024-11-07 01:14:11 +03:00 committed by GitHub
parent 24fdf181bc
commit 6801f3a236
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 16 additions and 8 deletions

View file

@ -12,7 +12,7 @@ export const PreviewAttachment = ({
const { name, url, contentType } = attachment;
return (
<div className="flex flex-col gap-2 max-w-16">
<div className="flex flex-col gap-2">
<div className="w-20 aspect-video bg-muted rounded-md relative flex flex-col items-center justify-center">
{contentType ? (
contentType.startsWith('image') ? (