1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-20 14:37:43 +01:00

Decrease image size on hover

This commit is contained in:
Cooper Ransom 2024-04-03 23:39:00 -04:00
parent a6a2b400a0
commit fda8611f0f

View file

@ -280,7 +280,7 @@ export function Discover() {
isTVShow ? media.name : media.title isTVShow ? media.name : media.title
}`} }`}
rel="noopener noreferrer" rel="noopener noreferrer"
className="block text-center relative overflow-hidden transition-transform transform hover:scale-95 mr-4" className="block text-center relative overflow-hidden transition-transform transform hover:scale-90 mr-4"
style={{ flex: `0 0 ${movieWidth}` }} // Set a fixed width for each movie style={{ flex: `0 0 ${movieWidth}` }} // Set a fixed width for each movie
> >
<LazyLoadImage <LazyLoadImage