Skip to content

Commit

Permalink
Merge pull request #25 from Harshal-Gahlot/main
Browse files Browse the repository at this point in the history
Fixed #24 bug : overflow text of recommended card on /watch, my first issue/pr.
  • Loading branch information
ShivaBhattacharjee authored Sep 27, 2024
2 parents 59030d2 + 6ef4a40 commit 9021f02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
MONGODB_URI =
MONGODB_URI =
# you can find token under inspect -> application -> cookies -> https://www.animetrix.xyz
JWT_TOKEN =
# gemini api key
NEXT_PUBLIC_GEMINI_API_KEY =
Expand Down
4 changes: 2 additions & 2 deletions src/components/shared/cards/EpisodeLists.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,11 @@ const EpisodeLists: React.FC<EpisodeListsProps> = ({ animeId, isStream, currentl
<div className="flex flex-col items-center">
{currentlyPlaying == anime.number && <SyncLoader color="#fff" size={4} />}
{anime.title ? (
<h1 className=" p-3 truncate md:w-60 w-40 text-xs md:text-lg">
<h1 className=" p-3 truncate md:w-60 w-40 text-xs md:text-lg max-w-full">
{anime.number} . {anime?.title} {isFiller && "(🤓Fillter)"}
</h1>
) : (
<h1 className=" p-2 font-semibold py-3">
<h1 className=" p-2 font-semibold py-3 max-w-full">
{isFiller ? "Filler Episode" : "Episode"}: {anime.number}
</h1>
)}
Expand Down

0 comments on commit 9021f02

Please sign in to comment.