Skip to content

The open-source app everyone uses to manage agents at work

fix: apply text centering to default card renderer (warmth/mono/nebula)

dotta7930e725afa1
diff --git a/server/src/routes/org-chart-svg.ts b/server/src/routes/org-chart-svg.ts
index c7e39cae93..71208a38f1 100644
--- a/server/src/routes/org-chart-svg.ts
+++ b/server/src/routes/org-chart-svg.ts
@@ -399,8 +399,8 @@ function defaultRenderCard(ln: LayoutNode, theme: StyleTheme): string {
const cx = ln.x + ln.width / 2;
const avatarCY = ln.y + 24;
- const nameY = ln.y + 52;
- const roleY = ln.y + 68;
+ const nameY = ln.y + 66;
+ const roleY = ln.y + 82;
const filterId = `shadow-${ln.node.id}`;
const shadowFilter = theme.cardShadow