We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd5f27e commit c3d8151Copy full SHA for c3d8151
1 file changed
apps/sim/app/workspace/[workspaceId]/files/components/file-viewer/preview-panel.tsx
@@ -481,7 +481,7 @@ const STATIC_MARKDOWN_COMPONENTS = {
481
definition={definition ?? ''}
482
isStreaming={isStreaming}
483
zoomable
484
- zoomClassName='h-[420px] rounded-lg'
+ zoomClassName='my-4 h-[420px] rounded-lg'
485
/>
486
)
487
},
@@ -620,7 +620,7 @@ const STATIC_MARKDOWN_COMPONENTS = {
620
img: ({ src, alt }: React.ImgHTMLAttributes<HTMLImageElement>) => {
621
const resolvedSrc = resolveSimFileUrl(typeof src === 'string' ? src : undefined)
622
return (
623
- <ZoomablePreview className='my-3 h-[360px] rounded-md' initialScale='fit'>
+ <ZoomablePreview className='my-3 h-[360px] rounded-md' initialScale='actual'>
624
<img
625
src={resolvedSrc}
626
alt={alt ?? ''}
0 commit comments