fix: 不能正常显示系统消息

This commit is contained in:
CrescentLeaf
2025-10-08 15:00:31 +08:00
parent 2d7b7818d7
commit dd42f5e54e
2 changed files with 6 additions and 7 deletions

View File

@@ -0,0 +1,24 @@
export default function SystemMessage({ children }: React.HTMLAttributes<HTMLElement>) {
return (
<div style={{
width: '100%',
flexDirection: 'column',
display: 'flex',
marginTop: '25px',
marginBottom: '20px',
}}>
<mdui-card variant="filled"
style={{
alignSelf: 'center',
paddingTop: '9px',
paddingBottom: '9px',
paddingLeft: '18px',
paddingRight: '18px',
fontSize: '92%',
}}>
{children}
</mdui-card>
</div>
)
}