Skip to content
New issue

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

🐛[BUG]输入框周围颜色不同 #337

Open
Antony-Jia opened this issue Nov 19, 2024 · 0 comments
Open

🐛[BUG]输入框周围颜色不同 #337

Antony-Jia opened this issue Nov 19, 2024 · 0 comments

Comments

@Antony-Jia
Copy link

Antony-Jia commented Nov 19, 2024

🐛 bug 描述

输入框周围颜色不同
image

💻 复现代码

div className="rounded-box full-height" >
<ProChat
helloMessage={
'这是一条自定义消息,支持 markdown 消息,例如:ProChat'
}
inputAreaProps={{
style: {
border: '1px solid #1890ff',
color: 'rgb(38,64,15)',
fontWeight: 800,
// backgroundColor: '#ffffff',
},
}}
/>
div>
.rounded-box {
border: 1px solid #1890ff; /* 淡蓝色边框 /
border-radius: 10px; /
圆角效果 /
padding: 20px; /
内边距 /
background: #ffffff; /
白色背景 /
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /
轻微阴影效果 /
/
display: flex;
flex-direction: column;
justify-content: center; */
}

/* 卡片高度适配 */
.full-height {
height: 100%;
}

© 版本信息

  • @ant-design/pro-chat 版本: [email protected]
  • 浏览器环境
  • 开发环境 [e.g. mac OS]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant