Changeset 38120c7 in Klonkt for src/views/shell.ejs


Ignore:
Timestamp:
06/30/2026 11:38:24 PM (2 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
2a58d76
Parents:
86fa2d2
Message:

fix(feed): video covers fill the square thumbnail (object-fit:cover), centered — incl. desktop

The desktop list-cover rule was .post-list-cover img (img only), so a federated <video> cover was
unstyled = rendered at its intrinsic size (e.g. 640x360), overflowing the square slot from the
top-left. Add video to that rule so it gets width/height:100% + object-fit:cover + center (fill the
square, keep aspect, crop the overflow). Reverted the earlier object-fit:contain — the ask is cover,
not letterbox. style.css buster 65 -> 66.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/shell.ejs

    r86fa2d2 r38120c7  
    216216
    217217<!-- v9 stylesheet (full palette system) -->
    218 <link rel="stylesheet" href="/assets/css/style.css?v=65">
     218<link rel="stylesheet" href="/assets/css/style.css?v=66">
    219219<script>
    220220/* iOS safe-area, built by hand. env(safe-area-inset-top) resolves to 0 on this iOS in
Note: See TracChangeset for help on using the changeset viewer.