Changeset 492fc20 in Klonkt for src/views


Ignore:
Timestamp:
06/28/2026 05:40:58 PM (2 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
5bc67b4
Parents:
041a0df
Message:

fix(images): 256px size for list/cirkel covers (match the crisp grid ratio)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/partials/post-card.ejs

    r041a0df r492fc20  
    4949       <% if (_ext) { %>target="_blank" rel="noopener"<% } else { %>hx-get="<%= _href %>?partial=1" hx-target="#pcms-main" hx-swap="innerHTML" hx-push-url="<%= _href %>" hx-indicator="#pcms-loading"<% } %>
    5050       aria-label="<%= post.title || '(zonder titel)' %>" tabindex="-1">
    51       <img src="<%= thumb(post.cover_image_url, 320) %>" alt="" loading="lazy" decoding="async">
     51      <img src="<%= thumb(post.cover_image_url, 256) %>" alt="" loading="lazy" decoding="async">
    5252      <% if (post.nsfw) { %><span class="nsfw-veil"><span class="nsfw-veil-label">🔞 <%= post.content_warning || t('post.nsfw_warning') %></span><span class="nsfw-veil-btn"><%= t('post.nsfw_show') %></span></span><% } %>
    5353    </a>
Note: See TracChangeset for help on using the changeset viewer.