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

Loading…
Cancel
Save