Files
einfach-produktiv/app/globals.css
T
Marco 8d8674281a fix(scroll): add scroll-padding-top equal to navbar height (6.25rem)
Prevents sticky navbar from covering anchor targets on smooth scroll.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-30 21:43:17 +00:00

25 lines
491 B
CSS

@import "tailwindcss";
:root {
--background: #f5f0e8;
--foreground: #222221;
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--font-sans: var(--font-geist-sans);
--font-mono: var(--font-geist-mono);
}
html {
scroll-behavior: smooth;
scroll-padding-top: 6.25rem; /* navbar height */
}
body {
background: var(--background);
color: var(--foreground);
font-family: var(--font-geist-sans), Arial, Helvetica, sans-serif;
}