mirror of
https://github.com/sussy-code/smov.git
synced 2025-01-01 16:37:39 +01:00
Update ModalEpisodeSelector.tsx (Responviness Fixed)
This commit is contained in:
parent
08243acaf9
commit
d607f01238
1 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ export function EpisodeSelector({ tmdbId }: ModalEpisodeSelectorProps) {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-row">
|
<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) => (
|
{seasonsData.map((season) => (
|
||||||
<div
|
<div
|
||||||
key={season.season_number}
|
key={season.season_number}
|
||||||
|
@ -58,7 +58,7 @@ export function EpisodeSelector({ tmdbId }: ModalEpisodeSelectorProps) {
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</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">
|
<div className="grid grid-cols-3 gap-2">
|
||||||
{selectedSeason ? (
|
{selectedSeason ? (
|
||||||
selectedSeason.episodes.map(
|
selectedSeason.episodes.map(
|
||||||
|
|
Loading…
Reference in a new issue