From 2c51a3bf9ee37235d23b4ace51bbe97d8ebfaeb3 Mon Sep 17 00:00:00 2001 From: Amar Bathwal <110378139+amar-1995@users.noreply.github.com> Date: Thu, 29 Feb 2024 17:50:47 +0530 Subject: [PATCH] fix: caption size for hls stream --- .../src/Prebuilt/components/HMSVideo/HMSVideo.jsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/roomkit-react/src/Prebuilt/components/HMSVideo/HMSVideo.jsx b/packages/roomkit-react/src/Prebuilt/components/HMSVideo/HMSVideo.jsx index ee420f0832..8674fbf545 100644 --- a/packages/roomkit-react/src/Prebuilt/components/HMSVideo/HMSVideo.jsx +++ b/packages/roomkit-react/src/Prebuilt/components/HMSVideo/HMSVideo.jsx @@ -14,13 +14,12 @@ export const HMSVideo = forwardRef(({ children, ...props }, videoRef) => { position: 'relative', '& video::cue': { color: 'white', - // textShadow: '0px 0px 4px #000', whiteSpace: 'pre-line', - fontSize: '$lg', + fontSize: '$sm', fontStyle: 'normal', - fontWeight: '$semiBold', + fontWeight: '$regular', lineHeight: '$sm', - letterSpacing: '0.5px', + letterSpacing: '0.25px', }, '& video::-webkit-media-text-track-display': { padding: '0 $4',