From 2e16eab1554f5e72dd89715e7638cae45d4ab97f Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Wed, 1 Mar 2023 11:12:39 +0800 Subject: [PATCH] Adjust search bar after adjusting left menu --- .../components/templates/homeFeed/LibraryFilterMenu.tsx | 8 ++++---- .../web/components/templates/homeFeed/LibraryHeader.tsx | 7 ++++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/packages/web/components/templates/homeFeed/LibraryFilterMenu.tsx b/packages/web/components/templates/homeFeed/LibraryFilterMenu.tsx index ab30f5406..c6e1ac2e9 100644 --- a/packages/web/components/templates/homeFeed/LibraryFilterMenu.tsx +++ b/packages/web/components/templates/homeFeed/LibraryFilterMenu.tsx @@ -8,7 +8,7 @@ import { useGetSubscriptionsQuery } from '../../../lib/networking/queries/useGet import { useGetLabelsQuery } from '../../../lib/networking/queries/useGetLabelsQuery' import { Label } from '../../../lib/networking/fragments/labelFragment' -const MENU_WIDTH = '300px' +export const LIBRARY_LEFT_MENU_WIDTH = '300px' type LibraryFilterMenuProps = { setShowAddLinkModal: (show: boolean) => void @@ -27,7 +27,7 @@ export function LibraryFilterMenu(props: LibraryFilterMenuProps): JSX.Element { position: 'fixed', bg: 'white', height: '100%', - width: MENU_WIDTH, + width: LIBRARY_LEFT_MENU_WIDTH, borderRight: '1px solid #E1E1E1', pr: '15px', overflow: 'auto', @@ -45,7 +45,7 @@ export function LibraryFilterMenu(props: LibraryFilterMenuProps): JSX.Element { the fixed left side menu. */}