aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photo_top.tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-11-02 19:19:24 +0000
committerMario <mario@mariovavti.com>2022-11-02 19:19:24 +0000
commit00694f0dfd03ab51c511a0ba35c98cfe1e22f918 (patch)
tree62cd4c58de55c21e824f6164d1cb247c790ecac0 /view/tpl/photo_top.tpl
parent134f4c5b520c09ed583cda6c4c4946b8b9629838 (diff)
downloadvolse-hubzilla-00694f0dfd03ab51c511a0ba35c98cfe1e22f918.tar.gz
volse-hubzilla-00694f0dfd03ab51c511a0ba35c98cfe1e22f918.tar.bz2
volse-hubzilla-00694f0dfd03ab51c511a0ba35c98cfe1e22f918.zip
css fixes
Diffstat (limited to 'view/tpl/photo_top.tpl')
-rw-r--r--view/tpl/photo_top.tpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/view/tpl/photo_top.tpl b/view/tpl/photo_top.tpl
index 16862a8d6..1cfcc7aa3 100644
--- a/view/tpl/photo_top.tpl
+++ b/view/tpl/photo_top.tpl
@@ -1,4 +1,5 @@
<a href="{{$photo.link}}" id="photo-top-photo-link-{{$photo.id}}" title="{{$photo.title}}">
<img src="{{$photo.src}}" alt="{{if $photo.album.name}}{{$photo.album.name}}{{elseif $photo.desc}}{{$photo.desc}}{{elseif $photo.alt}}{{$photo.alt}}{{else}}{{$photo.unknown}}{{/if}}" title="{{$photo.title}}" id="photo-top-photo-{{$photo.id}}" loading="lazy" />
+ <div class="jg-caption rounded text-truncate">{{if $photo.album.name}}{{$photo.album.name}}{{elseif $photo.desc}}{{$photo.desc}}{{elseif $photo.alt}}{{$photo.alt}}{{else}}{{$photo.unknown}}{{/if}}</div>
</a>