fix: no filters sidebar animation on mobile (#5320)
This commit is contained in:
parent
51fe44d53a
commit
a7fd60987e
@ -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' }}
|
||||||
|
Loading…
Reference in New Issue
Block a user