attempt to fix captions visibility issue

some users need to enable hardware acceleration for the to show
This commit is contained in:
Pas 2026-02-20 17:44:43 -07:00
parent 4976d38830
commit dcbf21f3f9

View file

@ -167,11 +167,12 @@ export function SubtitleView(props: { controlsShown: boolean }) {
return (
<Transition animation="slide-up" show>
<div
className="text-white absolute w-full flex flex-col items-center transition-[bottom]"
className="pointer-events-none z-50 text-white absolute w-full flex flex-col items-center transition-[bottom]"
style={{
bottom: props.controlsShown
? "6rem"
: `${styling.verticalPosition}rem`,
transform: "translateZ(0)",
}}
>
<SubtitleRenderer />