Commit 4b6960fc by 李伟康

style(chat): 调整聊天问题组件样式

- 将建议问题列表的上边距从 -38px 调整为 -24px
- 为问题文本添加颜色 #0a3479 和字体大小 15px 样式
- 将问题容器的下边距从 mb-2 调整为 mb-4
1 parent ec74e225
......@@ -20,7 +20,7 @@
.suggested-questions-list {
width: 100%;
border-radius: 16px;
margin-top: -38px;
margin-top: -24px;
background-color: #fff;
padding: 0 16px;
......@@ -52,7 +52,8 @@
overflow: hidden;
text-overflow: ellipsis;
word-break: break-word;
color: #0a3479;
font-size: 15px;
}
&-icon {
flex-shrink: 0;
......
......@@ -17,7 +17,7 @@ import cn from '@/utils/classnames'
const Question: FC = () => {
const { content, theme } = useChatBodyContext()
return (
<div className="mb-2 flex justify-end pl-14 last:mb-0">
<div className="mb-4 flex justify-end pl-14 last:mb-0">
<div className={cn('group', 'relative', 'max-w-full')}>
<div
className={cn('rounded-br-none bg-[#3773F8] px-3 py-2 text-sm text-gray-900', s['question-boder'])}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!