From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001 From: wwf <yearningwang@iqtogether.com> Date: 星期三, 04 六月 2025 15:17:49 +0800 Subject: [PATCH] 初始化 --- app/components/base/file-uploader/video-preview.tsx | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/components/base/file-uploader/video-preview.tsx b/app/components/base/file-uploader/video-preview.tsx index 16ae27c..0378f37 100644 --- a/app/components/base/file-uploader/video-preview.tsx +++ b/app/components/base/file-uploader/video-preview.tsx @@ -18,7 +18,7 @@ return createPortal( <div - className='fixed inset-0 z-[1000] flex items-center justify-center bg-black/80 p-8' + className='fixed inset-0 p-8 flex items-center justify-center bg-black/80 z-[1000]' onClick={e => e.stopPropagation()} tabIndex={-1} > @@ -27,18 +27,18 @@ <source type="video/mp4" src={url} - className='max-h-full max-w-full' + className='max-w-full max-h-full' /> </video> </div> <div - className='absolute right-6 top-6 flex h-8 w-8 cursor-pointer items-center justify-center rounded-lg bg-white/[0.08] backdrop-blur-[2px]' + className='absolute top-6 right-6 flex items-center justify-center w-8 h-8 bg-white/[0.08] rounded-lg backdrop-blur-[2px] cursor-pointer' onClick={onCancel} > - <RiCloseLine className='h-4 w-4 text-gray-500'/> + <RiCloseLine className='w-4 h-4 text-gray-500'/> </div> - </div>, - document.body, + </div> + , document.body, ) } -- Gitblit v1.8.0