feat: Add lazy loading for thumbnails in artplayer-plugin-chapter

This commit is contained in:
Harvey Zack committed 2024-06-02 20:06:47 +08:00
1 parent 17ab163e91
commit 570c1611d3
5 files changed
+21 -6

No files matched your search

@@ -1,4 +1,4 @@
.art-progress {
.artplayer-plugin-chapter {
.art-control-progress-inner {
height: 100% !important;
background-color: transparent !important;
@@ -10,6 +10,10 @@
}
}
.art-control-thumbnails {
bottom: calc(var(--art-bottom-gap) + 64px) !important;
}
.art-chapters {
position: absolute;
z-index: 0;
@@ -50,7 +54,7 @@
left: 0;
padding: 3px 5px;
line-height: 1;
font-size: 16px;
font-size: 14px;
border-radius: var(--art-border-radius);
white-space: nowrap;
background-color: var(--art-tip-background);