mirror of
https://github.com/sune-org/sune.git
synced 2026-10-29 13:04:51 +00:00
Keep existing attachments when adding more; clear via hold or right-click
Clicking the attach button or pasting files now appends instead of resetting. Long-press (touch) or right-click opens a popover with "Clear all attachments". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -17,6 +17,9 @@
|
||||
<button id="sunesSyncUploadBtn" class="menu-item"><i data-lucide="upload-cloud" class="h-4 w-4"></i><span>Upload to GitHub</span></button>
|
||||
<button id="sunesSyncDownloadBtn" class="menu-item"><i data-lucide="download-cloud" class="h-4 w-4"></i><span>Download from GitHub</span></button>
|
||||
</div>
|
||||
<div id="attachPopover" class="menu-card hidden">
|
||||
<button data-action="clear" class="menu-item text-red-600"><i data-lucide="x" class="h-4 w-4"></i><span>Clear all attachments</span></button>
|
||||
</div>
|
||||
<div id="suneModal" class="hidden fixed inset-0 z-50">
|
||||
<div class="absolute inset-0 bg-black/30"></div>
|
||||
<div class="absolute inset-x-0 top-12 mx-auto w-full max-w-md px-4">
|
||||
|
||||
Reference in New Issue
Block a user