Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix: Fixes recording dialog web rendering.

Дамян Минков5d41da93581a
diff --git a/react/features/base/react/components/web/Text.js b/react/features/base/react/components/web/Text.js
index 65cfddd21c..864152ae5a 100644
--- a/react/features/base/react/components/web/Text.js
+++ b/react/features/base/react/components/web/Text.js
@@ -1,5 +1,7 @@
import React, { Component } from 'react';
+import { getFixedPlatformStyle } from '../../../styles';
+
/**
* Implements a React/Web {@link Component} for displaying text similar to React
* Native's {@code Text} in order to facilitate cross-platform source code.
@@ -14,6 +16,12 @@ export default class Text extends Component {
* @returns {ReactElement}
*/
render() {
- return React.createElement('span', this.props);
+ // eslint-disable-next-line react/prop-types
+ const _style = getFixedPlatformStyle(this.props.style);
+
+ return React.createElement('span', {
+ ...this.props,
+ style: _style
+ });
}
}