mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-27 04:31:27 +08:00
Fix/image height (#5658)
This commit is contained in:
parent
1e5ec5df7f
commit
61bb81827e
@ -131,6 +131,5 @@ const ImageBlockGroup = styled.div`
|
||||
> * {
|
||||
flex: 0 0 auto;
|
||||
min-width: 200px;
|
||||
max-width: calc(33.33% - 8px);
|
||||
}
|
||||
`
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user