We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
内容展示无法设置字体大小, chatItemRenderConfig={{ contentRender: (_, defaultContent) => { return ( <div style={{ // border: '1px solid #1890ff', borderRadius: '8px', height: 'auto', padding: '8px', color: 'rgb(38,64,15)', fontWeight: 400, fontSize: '24px!important', }} > {defaultContent} ); }, }}
描述你原本期望看到的结果 -->
The text was updated successfully, but these errors were encountered:
这是因为我们组件的字体和大小是直接设置的,如果你要改动的话,可以用 css 选择器选择下方所有的 div 的字体大小。
Sorry, something went wrong.
No branches or pull requests
🐛 bug 描述
内容展示无法设置字体大小,
chatItemRenderConfig={{
contentRender: (_, defaultContent) => {
return (
<div
style={{
// border: '1px solid #1890ff',
borderRadius: '8px',
height: 'auto',
padding: '8px',
color: 'rgb(38,64,15)',
fontWeight: 400,
fontSize: '24px!important',
}}
>
{defaultContent}
);
},
}}
描述你原本期望看到的结果
-->
© 版本信息
The text was updated successfully, but these errors were encountered: