fix(StageParticipantNameLabel): size

Fixes an issue where StageParticipantNameLabel is smaller. This is caused because the font size and line height  props are calculated to an invalid (NaN) value after we started using rem instead of px for lineHeight and fontSize in theme.
Reference: #15917
This commit is contained in:
Hristo Terezov
2025-05-07 18:56:35 -05:00
parent 9361e3209b
commit a01f4468a0
2 changed files with 8 additions and 4 deletions

View File

@@ -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)
};
}