Top menu visible when filter open

This commit is contained in:
Jackson Harper 2023-03-02 19:38:10 +08:00
parent 5bbd90de37
commit 0735b10d1b

View file

@ -41,7 +41,7 @@ export function LibraryFilterMenu(props: LibraryFilterMenuProps): JSX.Element {
display: 'none',
},
'@mdDown': {
top: props.showFilterMenu ? '0px' : '100%',
top: props.showFilterMenu ? '48px' : '100%',
width: '100%',
zIndex: 6, // Above the header
transform: 'translateY(0)',
@ -49,7 +49,7 @@ export function LibraryFilterMenu(props: LibraryFilterMenuProps): JSX.Element {
},
}}
>
<HStack
{/* <HStack
css={{
width: '100%',
height: '30px',
@ -63,7 +63,7 @@ export function LibraryFilterMenu(props: LibraryFilterMenuProps): JSX.Element {
distribution="start"
>
<CloseButton close={() => props.setShowFilterMenu(false)} />
</HStack>
</HStack> */}
<SavedSearches {...props} />
<Subscriptions {...props} />
<Labels {...props} />