fix: correct spacing between sliders (#3225)

pull/3226/head
Ryan Cohen 2 years ago committed by GitHub
parent 0683f4f000
commit 62e2de70bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -290,7 +290,7 @@ const DiscoverSliderEdit = ({
/> />
</div> </div>
) : ( ) : (
<div className={`p-4 ${!slider.enabled ? 'opacity-50' : ''}`}> <div className={`-mt-6 p-4 ${!slider.enabled ? 'opacity-50' : ''}`}>
{children} {children}
</div> </div>
)} )}

@ -404,9 +404,7 @@ const Discover = () => {
} }
return ( return (
<div key={`discover-slider-${slider.id}`} className="mt-6"> <div key={`discover-slider-${slider.id}`}>{sliderComponent}</div>
{sliderComponent}
</div>
); );
})} })}
</> </>

@ -68,7 +68,7 @@
} }
.slider-header { .slider-header {
@apply relative mb-4 flex; @apply relative mt-6 mb-4 flex;
} }
.slider-title { .slider-title {

Loading…
Cancel
Save