fix: prevent layout shift when selecting Steam Sprint mode
Remove conditional padding that caused 12px upward shift when selecting Steam Sprint. Now uses consistent 20px 8px padding across all game modes for stable layout. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -16,7 +16,7 @@ export function ComplementRaceGame() {
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
overflow: 'hidden',
|
||||
padding: state.style === 'sprint' ? '8px' : '20px 8px',
|
||||
padding: '20px 8px',
|
||||
minHeight: '100vh',
|
||||
maxHeight: '100vh',
|
||||
background: state.style === 'sprint'
|
||||
|
||||
Reference in New Issue
Block a user