css fixes

This commit is contained in:
Mario
2022-11-02 19:19:24 +00:00
parent 134f4c5b52
commit 00694f0dfd
2 changed files with 2 additions and 1 deletions

View File

@@ -5,7 +5,7 @@
{{foreach $items as $i}}
<a href="{{$i.url}}" title="{{$i.alt}}">
<img src="{{$i.src}}" width="{{$i.width}}" height="{{$i.height}}" alt="{{$i.alt}}">
<div class='jg-caption autotime' title="{{$i.edited}}"></div>
<div class='jg-caption rounded text-truncate autotime' title="{{$i.edited}}"></div>
</a>
{{/foreach}}
</div>

View File

@@ -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>