FR round 3: end-anchor retire marker label (was clipped at 320px card window); compact FR option buttons at <=700px (grid stays above pinned nav at 390px; EN untouched)

This commit is contained in:
krisf committed 2026-10-09 10:26:40 -04:00
1 parent ea953ec23c
commit 972f3a7caa
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -409,7 +409,7 @@
}
var ret = Math.max(a0, inputs().retireAge);
inner += '<line x1="' + X(ret) + '" x2="' + X(ret) + '" y1="' + T + '" y2="' + (H - B) + '" stroke="#94a3b8" stroke-dasharray="2 4"/>' +
'<text x="' + (X(ret) + 4) + '" y="' + (H - B - 6) + '" font-size="12" fill="#94a3b8">' + t('chart.retire') + '</text>';
'<text x="' + (X(ret) - 4) + '" y="' + (H - B - 6) + '" font-size="12" fill="#94a3b8" text-anchor="end">' + t('chart.retire') + '</text>';
chart('#g1', svgWrap(inner), [[t('g1.legend'), COL.bal]]);
}