This commit is contained in:
freedakgmail
2025-11-30 21:32:39 +08:00
parent 025f2b619f
commit 8a1e03d616
135 changed files with 232 additions and 232 deletions
+1 -1
View File
@@ -687,7 +687,7 @@ const D3OrgChartFlowComponent = forwardRef<D3OrgChartRef, D3OrgChartFlowProps>(
}))
return (
<div className="w-full h-full bg-background rounded-lg border relative" key={`d3-chart-${rootId}`}>
<div className="w-full h-full bg-[url('https://www.transparenttextures.com/patterns/rice-paper.png')] bg-repeat relative" key={`d3-chart-${rootId}`}>
{/* 图表容器 */}
<div
ref={chartRef}
+4 -4
View File
@@ -285,7 +285,7 @@ function PersonCard({
<div className="text-center w-full mt-2 space-y-0.5">
<div className={cn(
"font-serif font-bold leading-tight flex items-center justify-center gap-1 text-base tracking-wide",
isDead ? "text-stone-500" : "text-stone-900 dark:text-stone-100"
"text-black"
)}>
<MemberNameWithStatus
name={`${member.surname}${member.givenName}`}
@@ -295,7 +295,7 @@ function PersonCard({
{member.courtesyName && (
<div className={cn(
"text-[11px] font-serif tracking-wide",
isDead ? "text-stone-400" : "text-stone-600 dark:text-stone-400"
"text-black"
)}>
{member.courtesyName}
</div>
@@ -303,7 +303,7 @@ function PersonCard({
{lifeSpan && (
<div className={cn(
"text-[10px] font-mono tracking-wider mt-1",
isDead ? "text-stone-400" : "text-stone-500"
"text-black font-semibold"
)}>
{lifeSpan}
</div>
@@ -311,7 +311,7 @@ function PersonCard({
{ageText && (
<div className={cn(
"text-[10px] font-serif",
isDead ? "text-stone-400" : "text-stone-500"
"text-black font-semibold"
)}>
{ageText}
</div>