Skip to content

Commit

Permalink
fix: correct spacing between sliders (#3225)
Browse files Browse the repository at this point in the history
  • Loading branch information
sct committed Jan 7, 2023
1 parent 0683f4f commit 62e2de7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/Discover/DiscoverSliderEdit/index.tsx
Expand Up @@ -290,7 +290,7 @@ const DiscoverSliderEdit = ({
/>
</div>
) : (
<div className={`p-4 ${!slider.enabled ? 'opacity-50' : ''}`}>
<div className={`-mt-6 p-4 ${!slider.enabled ? 'opacity-50' : ''}`}>
{children}
</div>
)}
Expand Down
4 changes: 1 addition & 3 deletions src/components/Discover/index.tsx
Expand Up @@ -404,9 +404,7 @@ const Discover = () => {
}

return (
<div key={`discover-slider-${slider.id}`} className="mt-6">
{sliderComponent}
</div>
<div key={`discover-slider-${slider.id}`}>{sliderComponent}</div>
);
})}
</>
Expand Down
2 changes: 1 addition & 1 deletion src/styles/globals.css
Expand Up @@ -68,7 +68,7 @@
}

.slider-header {
@apply relative mb-4 flex;
@apply relative mt-6 mb-4 flex;
}

.slider-title {
Expand Down

0 comments on commit 62e2de7

Please sign in to comment.