Replace copy button with text box for sharing
Simple solution: show the link in a selectable text box Works everywhere without clipboard API issues 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
+6
-3
@@ -1100,9 +1100,12 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="margin-top: 14px; display: flex; align-items: center; gap: 12px;">
|
||||
<button id="copyLinkBtn" type="button" disabled>Copy link</button>
|
||||
<span id="copyLinkConfirm" style="display: none; font-size: 8px; color: var(--gb-lightest);">Link copied!</span>
|
||||
<div style="margin-top: 14px;">
|
||||
<button id="copyLinkBtn" type="button" disabled>Share</button>
|
||||
<div id="shareLinkBox" style="display: none; margin-top: 12px;">
|
||||
<input type="text" id="shareLinkInput" readonly style="width: 100%; font-size: 8px; padding: 10px;" />
|
||||
<div style="margin-top: 6px; font-size: 8px; color: var(--gb-dark);">Select and copy the link above</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user