Skip to content

Commit

Permalink
Fix Sidebar Category height
Browse files Browse the repository at this point in the history
  • Loading branch information
aftabrehan committed Mar 24, 2024
1 parent 8746c0f commit 1bd0532
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion components/SideNavbar/SideNavbarCategoryList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const SideNavbarCategoryList: FC<{
<ul
data-custom="restrict-click-outside"
ref={listRef}
className="relative w-full max-h-full flex flex-col sc overflow-y-scroll scrollColorDarkMobile pr-4"
className="relative w-full flex flex-grow flex-col sc overflow-y-scroll scrollColorDarkMobile pr-4"
>
{categoriesList.map((categoryData) => (
<SideNavbarCategory
Expand Down
5 changes: 1 addition & 4 deletions components/Sidebar/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ const Sidebar: FC = () => {
/>
</div>

<div className="w-full max-h-[85%] 2xl:max-h-full flex flex-col items-between gap-2 pt-2 tall:gap-5">
{/* <h4 className="text-gray-400 text-base font-semibold text-xl">RESOURCES</h4> */}
<MemoizedSideNavbarCategoryList query={searchState.categoryQuery} />
</div>
<MemoizedSideNavbarCategoryList query={searchState.categoryQuery} />

<Button
label="Report a bug"
Expand Down

0 comments on commit 1bd0532

Please sign in to comment.