mirror of https://github.com/langgenius/dify.git
fix png jpeg export (#25110)
This commit is contained in:
parent
9040b534c8
commit
ebbb4a5d0b
|
|
@ -97,7 +97,8 @@ const ExportImage: FC = () => {
|
|||
style: {
|
||||
width: `${contentWidth}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