fix: correct spacing between sliders (#3225)

This commit is contained in:
Ryan Cohen
2023-01-08 00:35:08 +09:00
committed by GitHub
parent 0683f4f000
commit 62e2de70bf
3 changed files with 3 additions and 5 deletions

View File

@@ -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>
)} )}

View File

@@ -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>
); );
})} })}
</> </>

View File

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