Fix #168: compact corner notification pill for paste creation

This commit is contained in:
fen
2026-09-10 11:24:24 -05:00
parent bead90699d
commit aa4d017631
6 changed files with 29 additions and 16 deletions
-1
View File
@@ -28,7 +28,6 @@
<textarea class="editor" id="content" placeholder="Paste your code, text, or notes here…" spellcheck="false"></textarea>
<img id="file-preview" class="file-preview hidden" alt="File preview">
</div>
<div class="created-banner" id="created"></div>
<div class="actionbar">
<span class="hint">Ctrl+Enter to create</span>
<div class="spacer spacer-flex"></div>
+1 -6
View File
@@ -34,12 +34,7 @@
</div>
</div>
{{if .JustCreated}}
<div class="float">
<div class="created-banner show">
Paste created. Link copied to clipboard: <a href="/{{.ID}}">{{.Host}}/{{.ID}}</a>
{{if .DeletionToken}} · deletion token: <code>{{.DeletionToken}}</code>{{end}}
</div>
</div>
<div class="created-pill" id="created-pill" role="status">Paste Created · Link Copied</div>
{{end}}
{{if .Attachment}}
<div class="float">