feat: 新建对话按钮移到历史列表页顶部右侧

This commit is contained in:
2026-04-26 10:24:39 +08:00
parent 15ce68cd6e
commit 2a7f362c88
2 changed files with 27 additions and 5 deletions

View File

@@ -72,6 +72,30 @@ body {
overflow-y: auto;
}
/* Header 中的新建对话按钮 */
.new-chat-btn-header {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background: rgba(255,255,255,0.2);
border: none;
border-radius: 10px;
color: white;
cursor: pointer;
transition: all 0.2s;
}
.new-chat-btn-header:hover {
background: rgba(255,255,255,0.3);
}
.new-chat-btn-header:active {
transform: scale(0.95);
}
/* 原样式保留(备用) */
.new-chat-btn {
display: flex;
align-items: center;