diff --git a/templates/index.html b/templates/index.html index 268471e..966799d 100644 --- a/templates/index.html +++ b/templates/index.html @@ -52,9 +52,7 @@ .user-message-text { background: #f0f0f0; padding: 12px 16px; border-radius: 12px; font-size: 15px; } /* 消息操作按钮 */ - .message-actions { display: flex; gap: 8px; margin-top: 8px; opacity: 0; transition: opacity 0.2s; } - .message-content:hover + .message-actions, - .message-actions:hover { opacity: 1; } + .message-actions { display: flex; gap: 8px; margin-top: 8px; } .action-btn { padding: 6px 12px; background: #f5f5f5; border: 1px solid #e0e0e0; border-radius: 6px; cursor: pointer; font-size: 12px; color: #666; display: flex; align-items: center; gap: 4px; transition: all 0.2s; } .action-btn:hover { background: #e8e8e8; border-color: #ccc; } .action-btn.copied { color: #10a37f; border-color: #10a37f; background: #e8f5e9; }