diff --git a/src/components/HTMLEngineProvider/BaseHTMLEngineProvider.tsx b/src/components/HTMLEngineProvider/BaseHTMLEngineProvider.tsx index d03eea02beb40..daed57cb44f90 100755 --- a/src/components/HTMLEngineProvider/BaseHTMLEngineProvider.tsx +++ b/src/components/HTMLEngineProvider/BaseHTMLEngineProvider.tsx @@ -61,7 +61,7 @@ function BaseHTMLEngineProvider({textSelectable = false, children, enableExperim tagName: 'comment', getMixedUAStyles: (tnode) => { if (tnode.attributes.islarge === undefined) { - return {whiteSpace: 'pre', flex: 1, justifyContent: 'center'}; + return {whiteSpace: 'pre'}; } return {whiteSpace: 'pre', ...styles.onlyEmojisText}; },