Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Revert "fix(subtitles): position part2"
Hristo Terezovf2babbf99473
diff --git a/react/features/base/ui/functions.web.ts b/react/features/base/ui/functions.web.tsindex 1e2e91ef68..cbe8fb51b3 100644--- a/react/features/base/ui/functions.web.ts+++ b/react/features/base/ui/functions.web.ts@@ -117,5 +117,5 @@ export function operatesWithEnterKey(element: Element): boolean {* @returns {number}*/export function getVideospaceFloatingElementsBottomSpacing(theme: Theme, isToolbarVisible: boolean) {- return isToolbarVisible ? theme.spacing(12) : theme.spacing(6);+ return parseInt(isToolbarVisible ? theme.spacing(12) : theme.spacing(6), 10);}diff --git a/react/features/subtitles/components/web/Captions.tsx b/react/features/subtitles/components/web/Captions.tsxindex bf480fa062..b91e8e7674 100644--- a/react/features/subtitles/components/web/Captions.tsx+++ b/react/features/subtitles/components/web/Captions.tsx@@ -63,7 +63,7 @@ const styles = (theme: Theme, props: IProps) => {if (_isLifted) {// 10px is the space between the onstage participant display name label and subtitles. We also need// to add the padding of the subtitles because it will decrease the gap between the label and subtitles.- bottom = `calc(${bottom} + ${getStageParticipantNameLabelHeight(theme, _clientHeight) + 10 + padding}px)`;+ bottom += getStageParticipantNameLabelHeight(theme, _clientHeight) + 10 + padding;}if (_shiftUp) {@@ -73,7 +73,7 @@ const styles = (theme: Theme, props: IProps) => {return {transcriptionSubtitles: {- bottom,+ bottom: `${bottom}px`,marginBottom: `${marginBottom}px`,fontSize: `${fontSize}px`,left: '50%',