Compare commits

...

1 Commits

Author SHA1 Message Date
af997aa5c5 fix: 操作按钮一直显示,不再需要悬停 2026-04-13 10:31:54 +08:00

View File

@@ -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; }