Update ModalEpisodeSelector.tsx (Responviness Fixed)

This commit is contained in:
Abdullah Khan 2024-06-19 01:23:05 -04:00 committed by GitHub
parent 08243acaf9
commit d607f01238
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ export function EpisodeSelector({ tmdbId }: ModalEpisodeSelectorProps) {
return (
<div className="flex flex-row">
<div className="sm:w-96 w-96 sm:block flex-auto overflow-y-scroll overflow-x-hidden max-h-52 scrollbar-track-gray-300">
<div className="sm:w-96 w-96 sm:block flex-auto cursor-pointer overflow-y-scroll overflow-x-hidden max-h-52 scrollbar-track-gray-300">
{seasonsData.map((season) => (
<div
key={season.season_number}
@ -58,7 +58,7 @@ export function EpisodeSelector({ tmdbId }: ModalEpisodeSelectorProps) {
</div>
))}
</div>
<div className="flex-auto mt-4 sm:mt-0 sm:ml-4 overflow-y-auto overflow-x-hidden max-h-52 order-1 sm:order-2">
<div className="flex-auto mt-4 cursor-pointer sm:mt-0 sm:ml-4 overflow-y-auto overflow-x-hidden max-h-52 order-1 sm:order-2">
<div className="grid grid-cols-3 gap-2">
{selectedSeason ? (
selectedSeason.episodes.map(