From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +0800
Subject: [PATCH] 修改
---
app/account/account-page/AvatarWithEdit.tsx | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/app/account/account-page/AvatarWithEdit.tsx b/app/account/account-page/AvatarWithEdit.tsx
index 8250789..97f6ba8 100644
--- a/app/account/account-page/AvatarWithEdit.tsx
+++ b/app/account/account-page/AvatarWithEdit.tsx
@@ -83,13 +83,13 @@
return (
<>
<div>
- <div className="group relative">
+ <div className="relative group">
<Avatar {...props} />
<div
onClick={() => { setIsShowAvatarPicker(true) }}
- className="absolute inset-0 flex cursor-pointer items-center justify-center rounded-full bg-black bg-opacity-50 opacity-0 transition-opacity group-hover:opacity-100"
+ className="absolute inset-0 bg-black bg-opacity-50 rounded-full opacity-0 group-hover:opacity-100 transition-opacity cursor-pointer flex items-center justify-center"
>
- <span className="text-xs text-white">
+ <span className="text-white text-xs">
<RiPencilLine />
</span>
</div>
@@ -105,7 +105,7 @@
<ImageInput onImageInput={handleImageInput} cropShape='round' />
<Divider className='m-0' />
- <div className='flex w-full items-center justify-center gap-2 p-3'>
+ <div className='w-full flex items-center justify-center p-3 gap-2'>
<Button className='w-full' onClick={() => setIsShowAvatarPicker(false)}>
{t('app.iconPicker.cancel')}
</Button>
--
Gitblit v1.8.0