按钮组件,链接显示修复

This commit is contained in:
2026-08-03 16:08:52 +08:00
parent e057e33601
commit 849e473c7d
3 changed files with 381 additions and 42 deletions

View File

@@ -1716,6 +1716,7 @@ to { opacity: 1; transform: translateY(0);
/* 普通正文 */
/* 粗体和斜体样式 */
/* 气泡内的内联链接(替代 <a> 标签,点击由 JS 拦截处理) */
/* 可下载文件链接 → 按钮卡片样式 */
}
.chat-content h1 {
font-size: 1.3125rem;
@@ -1761,6 +1762,38 @@ to { opacity: 1; transform: translateY(0);
text-decoration: underline;
word-break: break-all;
}
.chat-content .chat-download-btn {
display: inline-flex !important;
align-items: center;
gap: 0.25rem;
padding: 0.25rem 0.4375rem;
margin: 0.125rem 0;
background: #f5f7fb;
border: 0.0625rem solid #e4e8f0;
border-radius: 0.25rem;
text-decoration: none !important;
color: #333 !important;
word-break: break-all;
transition: all 0.15s ease;
}
.chat-content .chat-download-btn:active {
background: #eef1f7;
border-color: #c8cde0;
transform: scale(0.98);
}
.chat-content .chat-download-btn .chat-dl-icon {
font-size: 0.8125rem !important;
line-height: 1;
flex-shrink: 0;
}
.chat-content .chat-download-btn .chat-dl-name {
font-size: 16px !important;
font-weight: 500;
color: #333;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* 流式气泡中的加载动画 */
.bubble-loading-dots {