fix(practice): add 80px top padding to account for app nav height
Push main content down below the fixed app navigation bar. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
b19c6d0eca
commit
a50b268d35
|
|
@ -408,7 +408,10 @@ export default function PracticePage() {
|
||||||
className={css({
|
className={css({
|
||||||
minHeight: '100vh',
|
minHeight: '100vh',
|
||||||
backgroundColor: isDark ? 'gray.900' : 'gray.50',
|
backgroundColor: isDark ? 'gray.900' : 'gray.50',
|
||||||
padding: viewState === 'practicing' ? '0' : '2rem',
|
paddingTop: viewState === 'practicing' ? '80px' : 'calc(80px + 2rem)',
|
||||||
|
paddingLeft: viewState === 'practicing' ? '0' : '2rem',
|
||||||
|
paddingRight: viewState === 'practicing' ? '0' : '2rem',
|
||||||
|
paddingBottom: viewState === 'practicing' ? '0' : '2rem',
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue