Skip to content

Commit

Permalink
Use thumbnail on expense item template partial
Browse files Browse the repository at this point in the history
  • Loading branch information
hdiniz committed Nov 28, 2024
1 parent 770168a commit 001ee3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/partials/expense-items.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<td style="width: 66px; border-bottom: 1px dotted rgb(196, 199, 204); padding: 12px 0;">
<div style="border: 1px solid #dcdee0; width: 48px; height: 48px; padding: 4px;">
<a href="{{this.url}}">
<div class="preview" style="width: 100%; height: 100%; z-index:0; background-size: contain; background-repeat: no-repeat; background-position: center; background-image: url('{{resizeImage this.url width=640}}');"></div>
<div class="preview" style="width: 100%; height: 100%; z-index:0; background-size: contain; background-repeat: no-repeat; background-position: center; background-image: url('{{this.url}}?thumbnail');"></div>
</a>
</div>
</td>
Expand Down

0 comments on commit 001ee3c

Please sign in to comment.