mirror of
https://github.com/langgenius/dify.git
synced 2026-05-02 15:17:39 +08:00
fix png jpeg export (#25110)
This commit is contained in:
parent
9040b534c8
commit
ebbb4a5d0b
@ -97,7 +97,8 @@ const ExportImage: FC = () => {
|
|||||||
style: {
|
style: {
|
||||||
width: `${contentWidth}px`,
|
width: `${contentWidth}px`,
|
||||||
height: `${contentHeight}px`,
|
height: `${contentHeight}px`,
|
||||||
transform: `translate(${padding - nodesBounds.x}px, ${padding - nodesBounds.y}px) scale(${zoom})`,
|
transform: `translate(${padding - nodesBounds.x}px, ${padding - nodesBounds.y}px)`,
|
||||||
|
transformOrigin: 'top left',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user