Reduce card font sizes to show more of last names

Name: 10.5px → 9px, dates: 9px → 8px, truncation charWidth: 6.5 → 5.5.
Also add sync.sh for deployment to bocken.org.
This commit is contained in:
2026-03-16 14:32:47 +01:00
parent 243baf186d
commit c9d1054d37
4 changed files with 15 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@@ -159,7 +159,7 @@ export function renderPersonCard(parent, person, config, onClick) {
.attr("class", "person-name")
.attr("x", textXOffset)
.attr("y", h / 2 - 4)
.text(truncateText(displayName, maxTextWidth, 6.5));
.text(truncateText(displayName, maxTextWidth, 5.5));
// Dates line (compact)
const dates = formatDates(data.birthYear, data.deathYear, data.isDead);