chore: break space in change avatar tip

This commit is contained in:
Tristan Yang
2023-08-05 22:45:15 +08:00
parent 6204091c0e
commit 481234f717
+1 -1
View File
@@ -58,7 +58,7 @@ const AvatarUploader: FC<Props> = ({
/>
{!disabled && (
<>
<div className="flex-center flex-col whitespace-nowrap hidden group-hover:flex p-1 absolute inset-0 bg-black/50 text-white font-bold text-xs">
<div className="flex-center flex-col whitespace-break-spaces text-center hidden group-hover:flex p-1 absolute inset-0 bg-black/50 text-white font-bold text-xs">
{uploading ? t("status.uploading") : t("action.change_avatar")}
</div>
<input