fix: change pressure gauge to fixed positioning to stay above terrain

This commit is contained in:
Thomas Hallock
2025-10-01 08:20:36 -05:00
parent 4ac8758957
commit 1b11031598

View File

@@ -682,10 +682,10 @@ export function SteamTrainJourney({ momentum, trainPosition, pressure, elapsedTi
{/* Pressure gauge */}
<div data-component="pressure-gauge-container" style={{
position: 'absolute',
position: 'fixed',
bottom: '10px',
left: '10px',
zIndex: 10,
zIndex: 1000,
width: '120px'
}}>
<PressureGauge pressure={pressure} />