Lazy load sidebar channel and chapters thumbnails (#3245)

This commit is contained in:
absidue 2023-03-05 22:00:04 +01:00 committed by GitHub
parent 56a1c35113
commit ab235b79d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View File

@ -95,7 +95,6 @@
.channelThumbnail {
border-radius: 50%;
width: 35px;
vertical-align: middle;
}

View File

@ -214,6 +214,9 @@
>
<img
class="channelThumbnail"
height="35"
width="35"
loading="lazy"
:src="channel.thumbnail"
:alt="isOpen ? '' : channel.name"
>

View File

@ -50,6 +50,7 @@
alt=""
aria-hidden="true"
class="chapterThumbnail"
loading="lazy"
:src="chapter.thumbnail"
>
<div class="chapterTimestamp">