gtsocial-umbx

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 58c00d9f2f0bdb0e51b619dbe4efdf5b39de922f
parent 2db0c64738a45d633bdb0d78b8e3f6bc21079ef7
Author: tobi <31960611+tsmethurst@users.noreply.github.com>
Date:   Sun,  4 Sep 2022 15:14:15 +0200

[frontend] Transition neatly from cropped photos (#802)


Diffstat:
Mweb/template/status.tmpl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/template/status.tmpl b/web/template/status.tmpl @@ -32,7 +32,7 @@ <label for="sensitiveMedia-{{.ID}}" class="button" role="button" tabindex="0">Show sensitive media</label> </div> </div> - <a href="{{.URL}}" target="_blank" {{if .Description}}title="{{.Description}}"{{end}} data-pswp-width="{{.Meta.Original.Width}}px" data-pswp-height="{{.Meta.Original.Height}}px"> + <a href="{{.URL}}" target="_blank" {{if .Description}}title="{{.Description}}"{{end}} data-pswp-width="{{.Meta.Original.Width}}px" data-pswp-height="{{.Meta.Original.Height}}px" data-cropped="true"> <img src="{{.PreviewURL}}" {{if .Description}}alt="{{.Description}}"{{end}} data-blurhash="{{.Blurhash}}"/> </a> </div>