Fix/image height (#5658)

This commit is contained in:
SuYao 2025-05-04 22:31:00 +08:00 committed by GitHub
parent 1e5ec5df7f
commit 61bb81827e
2 changed files with 1 additions and 7 deletions

View File

@ -131,6 +131,5 @@ const ImageBlockGroup = styled.div`
> * {
flex: 0 0 auto;
min-width: 200px;
max-width: calc(33.33% - 8px);
}
`

View File

@ -99,7 +99,7 @@ const MessageImage: FC<Props> = ({ block }) => {
<Image
src={image}
key={`image-${index}`}
height={200}
height={300}
preview={{
toolbarRender: (
_,
@ -131,15 +131,10 @@ const Container = styled.div`
flex-direction: row;
gap: 10px;
margin-top: 8px;
width: auto;
`
const Image = styled(AntdImage)`
padding: 5px;
border-radius: 8px;
.ant-image-img {
width: auto;
}
`
const ToobarWrapper = styled(Space)`
padding: 0px 24px;