Skip to content

Commit ffce0c1

Browse files
Update offsetY calculation for chart alignment
Adjusted vertical offset for chart positioning.
1 parent 33819ba commit ffce0c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ecosystem-grid/EcosystemGrid.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export function EcosystemGrid({ data }: EcosystemGridProps) {
150150

151151
// Center the chart
152152
const offsetX = Math.floor((EXPORT_WIDTH - chartWidth) / 2)
153-
const offsetY = HEADER_HEIGHT + PADDING + Math.floor((availableHeight - chartHeight) / 2) + 40
153+
const offsetY = HEADER_HEIGHT + PADDING + Math.floor((availableHeight - chartHeight) / 2) + 60
154154

155155
// Create canvas - fixed 16:9
156156
const canvas = document.createElement('canvas')

0 commit comments

Comments
 (0)