From 48ad4512c32662bd17872d190671ea53adef1a2b Mon Sep 17 00:00:00 2001 From: kbot Date: Wed, 3 Jun 2026 21:56:05 -0500 Subject: [PATCH] feat: add data-scroll-behavior and CSS smooth scroll with reduced-motion fallback --- app/globals.css | 1 + app/layout.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/globals.css b/app/globals.css index 50059c7..42e51a6 100644 --- a/app/globals.css +++ b/app/globals.css @@ -75,6 +75,7 @@ @layer base { html { + scroll-behavior: smooth; scroll-padding-top: var(--scroll-offset); } body { diff --git a/app/layout.tsx b/app/layout.tsx index 7002795..ef4f35d 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -38,7 +38,7 @@ export const metadata: Metadata = { export default function RootLayout({ children }: { children: React.ReactNode }) { return ( - +