fix(homepage): use direct conditionals for mini abacus padding
Replace spread operator with direct conditional values for py and px to ensure proper application with Panda CSS. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -370,8 +370,8 @@ export default function HomePage() {
|
||||
textAlign: 'center',
|
||||
bg: 'rgba(255, 255, 255, 0.1)',
|
||||
borderRadius: 'lg',
|
||||
p: '2',
|
||||
...(i === 0 && { py: '5', px: '3' }),
|
||||
py: i === 0 ? '5' : '2',
|
||||
px: i === 0 ? '3' : '2',
|
||||
})}
|
||||
>
|
||||
{i === 0 ? <MiniAbacus /> : skill.icon}
|
||||
|
||||
Reference in New Issue
Block a user