We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8f1bae commit 8a63893Copy full SHA for 8a63893
1 file changed
apps/sim/app/workspace/[workspaceId]/files/components/file-viewer/preview-panel.tsx
@@ -500,7 +500,7 @@ const STATIC_MARKDOWN_COMPONENTS = {
500
definition={definition ?? ''}
501
isStreaming={isStreaming}
502
zoomable
503
- zoomClassName='h-[420px] rounded-lg'
+ zoomClassName='my-4 h-[420px] rounded-lg'
504
/>
505
)
506
},
@@ -626,7 +626,7 @@ const STATIC_MARKDOWN_COMPONENTS = {
626
img: ({ src, alt }: React.ImgHTMLAttributes<HTMLImageElement>) => {
627
const resolvedSrc = resolveSimFileUrl(typeof src === 'string' ? src : undefined)
628
return (
629
- <ZoomablePreview className='my-3 h-[360px] rounded-md' initialScale='fit'>
+ <ZoomablePreview className='my-3 h-[360px] rounded-md' initialScale='actual'>
630
<img
631
src={resolvedSrc}
632
alt={alt ?? ''}
0 commit comments