style: Adjust horizontal message layout display property

This commit is contained in:
kangfenmao 2025-02-18 15:48:13 +08:00
parent 869e56b53c
commit 7199f73e06

View File

@ -202,7 +202,7 @@ const MessageWrapper = styled(Scrollbar)<MessageWrapperProps>`
return props.$selected ? 'block' : 'none'
}
if (props.$layout === 'horizontal') {
return 'inline-flex'
return 'inline-block'
}
return 'block'
}};