fix: correct checkbox position (again) for slider edits (#3227)

pull/3212/head
Ryan Cohen 2 years ago committed by GitHub
parent 2eebb7fd39
commit 3ba6df1a41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -190,8 +190,11 @@ const DiscoverSliderEdit = ({
<Bars3Icon className="h-6 w-6" />
<div>{getSliderTitle(slider)}</div>
</div>
{slider.data && (
<div className="pointer-events-none mb-4 flex-1 md:mb-0">
<div
className={`pointer-events-none ${
slider.data ? 'mb-4' : ''
} flex-1 md:mb-0`}
>
{(slider.type === DiscoverSliderType.TMDB_MOVIE_KEYWORD ||
slider.type === DiscoverSliderType.TMDB_TV_KEYWORD) && (
<div className="flex space-x-2">
@ -229,7 +232,6 @@ const DiscoverSliderEdit = ({
<Tag iconSvg={<MagnifyingGlassIcon />}>{slider.data}</Tag>
)}
</div>
)}
<div className="flex items-center space-x-2">
{!slider.isBuiltIn && (
<>

Loading…
Cancel
Save