From 1cbf9023121930fb3f581ec690a68151dad1c114 Mon Sep 17 00:00:00 2001 From: Igor Papandinas Date: Mon, 15 Jan 2024 00:03:49 +0100 Subject: [PATCH] feat: Toolbar sticky position --- app/layout.tsx | 4 +- app/page.tsx | 12 ++-- components/contributions-table/table.tsx | 3 - components/filters/toolbar.tsx | 71 +++++++++++++++--------- components/navbar.tsx | 2 +- hooks/useSticky.tsx | 25 +++++++++ 6 files changed, 77 insertions(+), 40 deletions(-) create mode 100644 hooks/useSticky.tsx diff --git a/app/layout.tsx b/app/layout.tsx index 810c4ea..12dac78 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -73,9 +73,7 @@ export default function RootLayout({
-
- {children} -
+
{children}