fix: no filters sidebar animation on mobile (#5320)

This commit is contained in:
vignesh mohankumar 2022-11-19 11:10:02 -05:00 committed by GitHub
parent 51fe44d53a
commit a7fd60987e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -91,7 +91,7 @@ export const FilterSidebar = ({
height={{ sm: 'full', md: 'auto' }} height={{ sm: 'full', md: 'auto' }}
zIndex={{ sm: '3', md: 'auto' }} zIndex={{ sm: '3', md: 'auto' }}
display={isFiltersExpanded ? 'flex' : 'none'} display={isFiltersExpanded ? 'flex' : 'none'}
style={{ transform: sidebarX.to((x) => `translateX(${x}px)`) }} style={{ transform: isMobile ? undefined : sidebarX.to((x) => `translateX(${x}px)`) }}
> >
<Box <Box
paddingTop={{ sm: '24', md: '0' }} paddingTop={{ sm: '24', md: '0' }}