Sidebar Styling issues with Mobile

This commit is contained in:
Bel Curcio
2021-06-01 17:40:39 -03:00
parent 3414739913
commit c1535cb8a6
10 changed files with 59 additions and 28 deletions

View File

@@ -77,8 +77,7 @@ const ProductSlider: FC = ({ children }) => {
<div className={s.root} ref={sliderContainerRef}>
<div
ref={ref}
className="relative keen-slider h-full transition-opacity duration-150"
style={{ opacity: isMounted ? 1 : 0 }}
className={cn(s.slider, { [s.show]: isMounted }, 'keen-slider')}
>
{slider && (
<div className={s.control}>