@alicloud/appflow-chat 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/appflow-chat",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "Appflow-Chat AI聊天机器人组件库,提供聊天服务和UI组件",
5
5
  "type": "module",
6
6
  "main": "./dist/appflow-chat.cjs.js",
@@ -45,9 +45,8 @@ export const MarkdownView: React.FC<MarkdownViewProps> = ({
45
45
  return (
46
46
  <Image
47
47
  style={{
48
- maxWidth: '200px',
49
- maxHeight: '150px',
50
- objectFit: 'contain',
48
+ maxWidth: '100%',
49
+ maxHeight: '600px',
51
50
  }}
52
51
  src={props.src}
53
52
  alt={props.alt}
@@ -176,9 +175,8 @@ export const MarkdownView: React.FC<MarkdownViewProps> = ({
176
175
  <>
177
176
  <Image
178
177
  style={{
179
- maxWidth: '200px',
180
- maxHeight: '150px',
181
- objectFit: 'contain',
178
+ maxWidth: '100%',
179
+ maxHeight: '600px',
182
180
  }}
183
181
  src={image.properties.src}
184
182
  className="max-w-full h-auto align-middle border-none rounded-lg shadow-md hover:shadow-lg transition-shadow duration-300 ease-in-out mt-2 mb-2"