fix(card-sorting): fix results panel layout to not cover cards

Changed score panel from flex layout to fixed position on the right side
so it doesn't overlay the card animation area.

Changes:
- Position panel fixed on right side (400px wide)
- Cards now have full viewport to animate in
- Add box shadow to panel for depth
- Panel slides in from right via existing spring animation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Thomas Hallock
2025-10-23 23:02:04 -05:00
parent 8aff60ce3f
commit 4b4fbfef32

View File

@@ -334,7 +334,11 @@ export function ResultsPhase() {
<animated.div
style={panelSpring}
className={css({
flex: '0 0 50%',
position: 'fixed',
right: 0,
top: 0,
bottom: 0,
width: '400px',
background: 'rgba(255, 255, 255, 0.95)',
borderLeft: '3px solid rgba(59, 130, 246, 0.3)',
padding: '40px',
@@ -342,6 +346,7 @@ export function ResultsPhase() {
display: 'flex',
flexDirection: 'column',
gap: '24px',
boxShadow: '-4px 0 20px rgba(0, 0, 0, 0.1)',
})}
>
{/* Score Circle */}