diff options
| author | 2022-09-04 15:14:15 +0200 | |
|---|---|---|
| committer | 2022-09-04 15:14:15 +0200 | |
| commit | 58c00d9f2f0bdb0e51b619dbe4efdf5b39de922f (patch) | |
| tree | f0d949a372264edac4ca1991ce1891fe18d60956 /web | |
| parent | [bugfix] Use 'Image' instead of unrecognized 'Gif' type for media attachments... (diff) | |
| download | gotosocial-58c00d9f2f0bdb0e51b619dbe4efdf5b39de922f.tar.xz | |
[frontend] Transition neatly from cropped photos (#802)
Diffstat (limited to 'web')
| -rw-r--r-- | web/template/status.tmpl | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/web/template/status.tmpl b/web/template/status.tmpl index 56d98d89b..16f724a94 100644 --- 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> | 
