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
fix(StageParticipantNameLabel): size
Hristo Terezova01f4468a0fc
diff --git a/react/features/display-name/components/web/StageParticipantNameLabel.tsx b/react/features/display-name/components/web/StageParticipantNameLabel.tsxindex 1eb9242890..5fe66b098f 100644--- a/react/features/display-name/components/web/StageParticipantNameLabel.tsx+++ b/react/features/display-name/components/web/StageParticipantNameLabel.tsx@@ -5,7 +5,7 @@ import { makeStyles } from 'tss-react/mui';import { IReduxState } from '../../../app/types';import { getParticipantDisplayName, isScreenShareParticipant } from '../../../base/participants/functions';import { withPixelLineHeight } from '../../../base/styles/functions.web';-import { getVideospaceFloatingElementsBottomSpacing } from '../../../base/ui/functions.web';+import { getVideospaceFloatingElementsBottomSpacing, remToPixels } from '../../../base/ui/functions.web';import { getLargeVideoParticipant } from '../../../large-video/functions';import {getTransitionParamsForElementsAboveToolbox,@@ -28,9 +28,13 @@ interface IOptions {}const useStyles = makeStyles<IOptions, 'screenSharing'>()((theme, options: IOptions = {}, classes) => {+ const originalTypography = getStageParticipantTypography(theme);const typography = {- ...getStageParticipantTypography(theme)+ ...originalTypography,+ fontSize: remToPixels(originalTypography.fontSize),+ lineHeight: remToPixels(originalTypography.lineHeight)};+const { clientHeight } = options;if (typeof clientHeight === 'number' && clientHeight > 0) {diff --git a/react/features/display-name/components/web/styles.ts b/react/features/display-name/components/web/styles.tsindex 8b609e2458..1da30aa634 100644--- a/react/features/display-name/components/web/styles.ts+++ b/react/features/display-name/components/web/styles.ts@@ -24,8 +24,8 @@ export function getStageParticipantTypography(theme: Theme) {*/export function getStageParticipantFontSizeRange(theme: Theme) {return {- max: theme.typography.bodyShortRegularLarge.fontSize,- min: theme.typography.bodyShortRegularSmall.fontSize+ max: remToPixels(theme.typography.bodyShortRegularLarge.fontSize),+ min: remToPixels(theme.typography.bodyShortRegularSmall.fontSize)};}