remove shadow
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user