@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/dist/appflow-chat.cjs.js +142 -142
- package/dist/appflow-chat.esm.js +6698 -6623
- package/package.json +1 -1
- package/src/markdown/index.tsx +4 -6
package/package.json
CHANGED
package/src/markdown/index.tsx
CHANGED
|
@@ -45,9 +45,8 @@ export const MarkdownView: React.FC<MarkdownViewProps> = ({
|
|
|
45
45
|
return (
|
|
46
46
|
<Image
|
|
47
47
|
style={{
|
|
48
|
-
maxWidth: '
|
|
49
|
-
maxHeight: '
|
|
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: '
|
|
180
|
-
maxHeight: '
|
|
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"
|