diff --git a/packages/desktop-client/src/components/reports/graphs/SankeyGraph.tsx b/packages/desktop-client/src/components/reports/graphs/SankeyGraph.tsx
index b246cf00b2c..182b0fc7d43 100644
--- a/packages/desktop-client/src/components/reports/graphs/SankeyGraph.tsx
+++ b/packages/desktop-client/src/components/reports/graphs/SankeyGraph.tsx
@@ -89,7 +89,31 @@ function SankeyGraph({ style, data, compact }: SankeyProps) {
let sankeyData = compact ? convertToCondensed(data) : data;
if (!data.links || data.links.length === 0) return null;
- return (
+ const margin = {
+ left: 0,
+ right: 0,
+ top: compact ? 0 : 10,
+ bottom: compact ? 0 : 25,
+ };
+
+ return compact ? (
+
+ }
+ sort={true}
+ iterations={1000}
+ nodePadding={23}
+ margin={margin}
+ >
+
+
+
+ ) : (