优化消息输入框附加图片时的样式
This commit is contained in:
@@ -976,9 +976,9 @@ export function MessageInput({
|
|||||||
const hasResourceAttachments = resourceAttachments.length > 0
|
const hasResourceAttachments = resourceAttachments.length > 0
|
||||||
const topPaddingClass =
|
const topPaddingClass =
|
||||||
hasImageAttachments && hasResourceAttachments
|
hasImageAttachments && hasResourceAttachments
|
||||||
? "pt-24"
|
? "pt-[6.25rem]"
|
||||||
: hasImageAttachments
|
: hasImageAttachments
|
||||||
? "pt-16"
|
? "pt-[4.5rem]"
|
||||||
: hasResourceAttachments
|
: hasResourceAttachments
|
||||||
? "pt-10"
|
? "pt-10"
|
||||||
: "pt-3"
|
: "pt-3"
|
||||||
|
|||||||
Reference in New Issue
Block a user