mirror of
https://github.com/langgenius/dify.git
synced 2026-04-21 06:46:30 +08:00
fix: comment input avatar padding
This commit is contained in:
parent
37930a60d6
commit
b281a9ab1b
@ -148,18 +148,14 @@ export const CommentInput: FC<CommentInputProps> = memo(({
|
|||||||
className="relative shrink-0 cursor-move"
|
className="relative shrink-0 cursor-move"
|
||||||
onPointerDown={handleDragPointerDown}
|
onPointerDown={handleDragPointerDown}
|
||||||
>
|
>
|
||||||
<div className="relative h-8 w-8 overflow-hidden rounded-tl-full rounded-tr-full rounded-br-full bg-primary-500">
|
<div className="relative aspect-square h-8 w-8 shrink-0 rounded-tl-full rounded-tr-full rounded-br-full bg-primary-500 p-[2px]">
|
||||||
<div className="absolute inset-[2px] overflow-hidden rounded-tl-full rounded-tr-full rounded-br-full bg-components-panel-bg-blur">
|
<div className="flex size-full items-center justify-center overflow-hidden rounded-tl-full rounded-tr-full rounded-br-full bg-components-panel-bg-blur p-[2px]">
|
||||||
<div className="flex h-full w-full items-center justify-center">
|
<Avatar
|
||||||
<div className="h-6 w-6 overflow-hidden rounded-full">
|
avatar={userProfile.avatar_url}
|
||||||
<Avatar
|
name={userProfile.name}
|
||||||
avatar={userProfile.avatar_url}
|
size={24}
|
||||||
name={userProfile.name}
|
className="block size-full rounded-full"
|
||||||
size={24}
|
/>
|
||||||
className="h-full w-full"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user