From 2d1db42de487885f8f9a4ef4051fff2b15a12842 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Tue, 20 Feb 2024 13:22:17 +0800 Subject: [PATCH] Add menu close button to the legacy menu --- .../templates/navMenu/LibraryLegacyMenu.tsx | 34 ++++++++++++++++--- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/packages/web/components/templates/navMenu/LibraryLegacyMenu.tsx b/packages/web/components/templates/navMenu/LibraryLegacyMenu.tsx index 6dc8948e6..e88263331 100644 --- a/packages/web/components/templates/navMenu/LibraryLegacyMenu.tsx +++ b/packages/web/components/templates/navMenu/LibraryLegacyMenu.tsx @@ -2,7 +2,7 @@ import { ReactNode, useEffect, useMemo, useRef } from 'react' import { StyledText } from '../../elements/StyledText' import { Box, HStack, SpanBox, VStack } from '../../elements/LayoutPrimitives' import { Button } from '../../elements/Button' -import { Circle } from 'phosphor-react' +import { Circle, X } from 'phosphor-react' import { Subscription, SubscriptionType, @@ -103,19 +103,45 @@ export function LibraryLegacyMenu(props: LibraryFilterMenuProps): JSX.Element { width: '100%', transition: 'visibility 0s, top 150ms', }, - zIndex: 3, + zIndex: 10, }} > - + + + + +