Skip to content

Commit

Permalink
fix(ui): adjust transform origin in application resource tree (argopr…
Browse files Browse the repository at this point in the history
…oj#20180)

Signed-off-by: srikanth597 <[email protected]>
Signed-off-by: austin5219 <[email protected]>
  • Loading branch information
srikanth597 authored and austin5219 committed Oct 16, 2024
1 parent 23356aa commit 224010c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1257,7 +1257,7 @@ export const ApplicationResourceTree = (props: ApplicationResourceTreeProps) =>
onPointerUp={onGraphDragEnd}
onPointerLeave={onGraphDragEnd}
className={classNames('application-resource-tree', {'application-resource-tree--network': props.useNetworkingHierarchy})}
style={{width: size.width + 150, height: size.height + 250, transformOrigin: '0% 0%', transform: `scale(${props.zoom})`}}>
style={{width: size.width + 150, height: size.height + 250, transformOrigin: '0% 4%', transform: `scale(${props.zoom})`}}>
{graphNodes.map(key => {
const node = graph.node(key);
const nodeType = node.type;
Expand Down

0 comments on commit 224010c

Please sign in to comment.