Add layout offset below fixed navbar (#550)
This commit is contained in:
parent
366218f805
commit
d91f2b928f
@ -8,6 +8,7 @@
|
||||
:root {
|
||||
--font-geist-sans: 'Geist', sans-serif;
|
||||
--font-geist-mono: 'Geist Mono', monospace;
|
||||
--app-shell-nav-offset: 5.5rem;
|
||||
|
||||
/* Light theme defaults */
|
||||
--color-background: #f8fafc;
|
||||
|
||||
@ -10,8 +10,10 @@ function AppShellLayout({ children }: { children: ReactNode }) {
|
||||
return (
|
||||
<>
|
||||
<Navbar />
|
||||
{children}
|
||||
<Footer />
|
||||
<div className="pt-[var(--app-shell-nav-offset)]">
|
||||
{children}
|
||||
<Footer />
|
||||
</div>
|
||||
<AskAIButton />
|
||||
</>
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user