Changeset 7eee449 in Klonkt for src/views/pages/newspaper.ejs


Ignore:
Timestamp:
06/26/2026 04:23:22 PM (2 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
1c85964
Parents:
bca83f3
Message:

style(fedi): white bg behind feed/following avatars (transparent PNG logos)

A federated account avatar that is a transparent PNG (e.g. a logo) showed the
accent-tinted circle behind it; give the avatar img a white bg per the rule.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/pages/newspaper.ejs

    rbca83f3 r7eee449  
    8282    background: color-mix(in srgb, var(--accent, #888) 22%, transparent); color: var(--accent, #555);
    8383    box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent, #888) 18%, transparent); }
    84   .tl-avatar img { width: 100%; height: 100%; object-fit: cover; }
     84  .tl-avatar img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
    8585  .tl-id { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
    8686  .tl-author { font-weight: 700; color: var(--ink, inherit); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
Note: See TracChangeset for help on using the changeset viewer.