fix: move fontWeight to style object for station names

This commit is contained in:
Thomas Hallock 2025-09-30 16:28:51 -05:00
parent c928e90785
commit 05a3ddb086
1 changed files with 1 additions and 1 deletions

View File

@ -317,11 +317,11 @@ export function SteamTrainJourney({ momentum, trainPosition, pressure, elapsedTi
y={pos.y + 50}
textAnchor="middle"
fontSize="20"
fontWeight="900"
fill="#1f2937"
stroke="#f59e0b"
strokeWidth="0.5"
style={{
fontWeight: 900,
pointerEvents: 'none',
fontFamily: '"Comic Sans MS", "Chalkboard SE", "Bradley Hand", cursive',
textShadow: '0 2px 4px rgba(0, 0, 0, 0.2)',