diff --git a/internal/web/static/app.css b/internal/web/static/app.css index 587f47a..e363ede 100644 --- a/internal/web/static/app.css +++ b/internal/web/static/app.css @@ -823,7 +823,7 @@ button[type="submit"]:focus-visible, } .attachment-bar .attachment-chip:hover { border-color: var(--accent); } .attachment-bar .attachment-chip .attachment-name { - max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; + max-width: 720px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* #221: images scale to fit the viewer box, aspect ratio preserved. */ .attachment-preview { diff --git a/internal/web/templates/paste.html b/internal/web/templates/paste.html index b549f3b..320ca10 100644 --- a/internal/web/templates/paste.html +++ b/internal/web/templates/paste.html @@ -41,17 +41,11 @@
{{if .AttachmentImage}}
{{.Attachment.Filename}}
- - {{.Attachment.Filename}} - {{.Attachment.SizeHuman}} - - {{else}} - - {{.Attachment.Filename}} - {{.Attachment.SizeHuman}} - -
{{.Attachment.Filename}}
{{end}} + + {{.Attachment.Filename}} + {{.Attachment.SizeHuman}} +
{{end}}