diff --git a/src/content.js b/src/content.js index ac87304..aba9984 100644 --- a/src/content.js +++ b/src/content.js @@ -79,6 +79,7 @@ button.save:hover { background: #4f46e5; } button.quick:hover { background: #26334d; border-color: #475569; } button.cancel:hover { background: #26334d; } + button .kbd { font-size: 10px; font-weight: 400; opacity: 0.65; } .toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #6366f1; color: #fff; padding: 6px 14px; @@ -96,8 +97,8 @@
- - + +
@@ -355,12 +356,14 @@ } // Быстрый промпт: сразу в буфер, без сохранения в общий список. + // После копирования пик-режим выключается. function quickCopy() { const prompt = textarea.value.trim(); if (!prompt || !selected.length) return; const contexts = selected.map(elementContext); closeForm(); clearSelection(); + deactivate(); copyToClipboard(buildQuickText(prompt, contexts)) .then(() => showToast('Copied ✓')) .catch(() => showToast('Copy failed'));