remove shadow #53

Merged
jason merged 1 commits from pedigree-update into master 2026-03-11 15:37:50 -05:00
Showing only changes of commit 7195aaecfc - Show all commits

View File

@@ -111,7 +111,7 @@ const PedigreeTree = ({ dogId, pedigreeData, coi }) => {
textAnchor="middle"
x="0"
y={r + 32}
style={{ fill: isRoot ? '#ffffff' : '#f8fafc', pointerEvents: 'none', textShadow: '0 2px 5px rgba(0,0,0,0.9)' }}
style={{ fill: isRoot ? '#ffffff' : '#f8fafc', pointerEvents: 'none' }}
>
{nodeDatum.name}
</text>
@@ -124,7 +124,7 @@ const PedigreeTree = ({ dogId, pedigreeData, coi }) => {
textAnchor="middle"
x="0"
y={r + 52}
style={{ fill: '#cbd5e1', pointerEvents: 'none', textShadow: '0 1px 4px rgba(0,0,0,0.9)' }}
style={{ fill: '#cbd5e1', pointerEvents: 'none' }}
>
{breed}
</text>
@@ -138,7 +138,7 @@ const PedigreeTree = ({ dogId, pedigreeData, coi }) => {
textAnchor="middle"
x="0"
y={r + (breed ? 70 : 52)}
style={{ fill: '#94a3b8', pointerEvents: 'none', textShadow: '0 1px 4px rgba(0,0,0,0.9)' }}
style={{ fill: '#94a3b8', pointerEvents: 'none' }}
>
{nodeDatum.attributes.registration}
</text>
@@ -152,7 +152,7 @@ const PedigreeTree = ({ dogId, pedigreeData, coi }) => {
textAnchor="middle"
x="0"
y={r + (breed ? 88 : (nodeDatum.attributes?.registration ? 70 : 52))}
style={{ fill: '#94a3b8', pointerEvents: 'none', textShadow: '0 1px 4px rgba(0,0,0,0.9)' }}
style={{ fill: '#94a3b8', pointerEvents: 'none' }}
>
({nodeDatum.attributes.birth_year})
</text>