优化消息输入框附加图片时的样式

This commit is contained in:
xintaofei
2026-03-08 18:17:42 +08:00
parent c7f2190674
commit baa97ed5fa

View File

@@ -976,9 +976,9 @@ export function MessageInput({
const hasResourceAttachments = resourceAttachments.length > 0
const topPaddingClass =
hasImageAttachments && hasResourceAttachments
? "pt-24"
? "pt-[6.25rem]"
: hasImageAttachments
? "pt-16"
? "pt-[4.5rem]"
: hasResourceAttachments
? "pt-10"
: "pt-3"