From c04d7c9a247e5ccc254a2c95ce2c79fc1567de4a Mon Sep 17 00:00:00 2001 From: Astound Date: Mon, 29 Jan 2024 05:08:18 +0800 Subject: 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. --- youtube/static/modules/plyr/custom_plyr.css | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'youtube/static') 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%; +} -- cgit v1.2.3