Merge pull request #2154 from vr10t/desaturate-watched-videos

Decrease opacity of watched video thumbnails.
This commit is contained in:
Kavin 2023-03-04 19:39:39 +00:00 committed by GitHub
commit 963eb326f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@
class="w-full aspect-video object-contain"
:src="item.thumbnail"
:alt="item.title"
:class="{ 'shorts-img': item.isShort }"
:class="{ 'shorts-img': item.isShort, 'opacity-75': item.watched }"
loading="lazy"
/>
<!-- progress bar -->