Fix #170: stray bar at bottom of /new page
CI / test (pull_request) Successful in 36s
CI / docker (pull_request) Skipped

#139 removed inline display:block from paste.html's created banner and
compensated with a global .created-banner { display:block } override.
That override also hit the hidden placeholder banner on /new, whose
base rule is display:none, making an empty padded bar render above the
action bar. Scope the override to .created-banner.show and mark only
the paste-view banner with the show class.
This commit is contained in:
fen
2026-09-10 11:16:30 -05:00
parent 269acf1fa5
commit d7fb87f19b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -35,7 +35,7 @@
</div>
{{if .JustCreated}}
<div class="float">
<div class="created-banner">
<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>