From bcd78635e0f8a3fa0199bea01c9ae722a4dc879d Mon Sep 17 00:00:00 2001 From: kaf-lamed-beyt Date: Sun, 3 Mar 2024 20:16:11 +0100 Subject: [PATCH] feat: fix alphabet filter to top on scroll --- app/components/AlphabetFilter/AlphabetFilter.js | 2 ++ app/components/pages/ProjectsPage.js | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/components/AlphabetFilter/AlphabetFilter.js b/app/components/AlphabetFilter/AlphabetFilter.js index 7b5c513e..75961bd5 100644 --- a/app/components/AlphabetFilter/AlphabetFilter.js +++ b/app/components/AlphabetFilter/AlphabetFilter.js @@ -40,6 +40,7 @@ const AlphabetFilter = ({ gridClasses.borderBottom = "0.5px solid #E2E3E3"; gridClasses.pb = "1rem"; gridClasses.width = "100vw"; + gridClasses.height = "280px"; } const collapseCode = isExpanded ? ( @@ -76,6 +77,7 @@ const AlphabetFilter = ({ key={letter} borderLeft="0.5px solid #E2E3E3" padding="0 0.2rem" + height="fit-content" >