Skip to content

Commit

Permalink
fix: add aspect ratio to reduce LCS on tv shows
Browse files Browse the repository at this point in the history
  • Loading branch information
Xetera committed Jun 29, 2024
1 parent 21aeee4 commit fa68896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/tv/watched-tv-show.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default function WatchedTvShow({ show, selected }: Props) {
>
<img
src={show.coverUrl}
className={cls("rounded mb-2 w-full max-h-[280px] object-cover h-full ease-out transition-all", (selected === show.simklId || typeof selected === "undefined") ? "opacity-100" : "opacity-20%")}
className={cls("rounded mb-2 w-full max-h-[280px] aspect-ratio-[47/70] object-cover h-full w-full ease-out transition-all", (selected === show.simklId || typeof selected === "undefined") ? "opacity-100" : "opacity-20%")}
/>
<div className="flex flex-col gap-1">
<h3 className="color-text-800 font-medium whitespace-nowrap overflow-hidden">
Expand Down

0 comments on commit fa68896

Please sign in to comment.