From 0482dd13ad00dbf170918b76b41cb481eb3d2ac4 Mon Sep 17 00:00:00 2001 From: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com> Date: Tue, 29 Oct 2024 00:49:26 -0400 Subject: [PATCH] Move captions lower --- .../ft-shaka-video-player/ft-shaka-video-player.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/renderer/components/ft-shaka-video-player/ft-shaka-video-player.css b/src/renderer/components/ft-shaka-video-player/ft-shaka-video-player.css index 32e6316b52d8a..864cc7cd4121c 100644 --- a/src/renderer/components/ft-shaka-video-player/ft-shaka-video-player.css +++ b/src/renderer/components/ft-shaka-video-player/ft-shaka-video-player.css @@ -47,6 +47,11 @@ width: 100%; } +/* increase height of captions since we remove the padding-bottom below the seekbar */ +:deep(.shaka-controls-container[shown='true']~.shaka-text-container) { + bottom: 12.5%; +} + .sixteenByNine { aspect-ratio: 16 / 9; } @@ -217,6 +222,9 @@ width: 96%; } + :deep(.shaka-controls-container[shown='true']~.shaka-text-container) { + bottom: 15%; + } } @media only screen and (width <=1350px) {