aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAstound <kirito@disroot.org>2024-01-29 05:08:18 +0800
committerAstound <kirito@disroot.org>2024-01-29 05:08:18 +0800
commitc04d7c9a247e5ccc254a2c95ce2c79fc1567de4a (patch)
tree0209ec3eec633a9a5c93300352944f7863b02f4e
parent3ee2df7faaac2f97a3b0cb28b43854cc11cd97a9 (diff)
downloadyt-local-c04d7c9a247e5ccc254a2c95ce2c79fc1567de4a.tar.lz
yt-local-c04d7c9a247e5ccc254a2c95ce2c79fc1567de4a.tar.xz
yt-local-c04d7c9a247e5ccc254a2c95ce2c79fc1567de4a.zip
Adjust Plyr custom styles for video preview thumbnail
In custom_plyr.css, made adjustments to styles for video preview thumbnail in Plyr Specific changes: - Modified the size and positioning of the thumbnail container to improve the visual presentation. - Enchance the user experience when interacting with video previews.
-rw-r--r--youtube/static/modules/plyr/custom_plyr.css9
1 files changed, 9 insertions, 0 deletions
diff --git a/youtube/static/modules/plyr/custom_plyr.css b/youtube/static/modules/plyr/custom_plyr.css
index 7658321..9edaa15 100644
--- a/youtube/static/modules/plyr/custom_plyr.css
+++ b/youtube/static/modules/plyr/custom_plyr.css
@@ -20,3 +20,12 @@ e.g. Firefox playback speed options */
.plyr:fullscreen video {
max-height: initial;
}
+
+.plyr__preview-thumb__image-container {
+ width: 158px;
+ height: 90px;
+}
+
+.plyr__preview-thumb {
+ bottom: 100%;
+}