- Timestamp:
- 07/26/2026 09:52:24 AM (6 weeks ago)
- Branches:
- main
- Children:
- 42e7616
- Parents:
- 3597763
- Location:
- src/views
- Files:
-
- 4 edited
-
pages/news.ejs (modified) (1 diff)
-
partials/fedi-node.ejs (modified) (1 diff)
-
partials/msg-item.ejs (modified) (2 diffs)
-
partials/shared-styles.ejs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/news.ejs
r3597763 ref1853c 137 137 .tl-readmore:hover { text-decoration: underline; } 138 138 139 /* FEP-9098 custom emojis: small inline images, never treated as media. */140 img.emoji { height: 1.35em; width: auto; margin: 0 .04em; vertical-align: -0.22em;141 display: inline-block; border-radius: 0; background: none; box-shadow: none; }142 .tl-content img.emoji, .tl-quote-body img.emoji { max-width: none; }143 144 139 /* FEP-044f embedded quote card (mirror of the Shaer QuoteCard). */ 145 140 .tl-quote { margin: .75rem 0 0; padding: .6rem .7rem; border-radius: 12px; -
src/views/partials/fedi-node.ejs
r3597763 ref1853c 6 6 <div class="comment-body"> 7 7 <div class="comment-meta"> 8 <% if (n.actor_url) { %><a class="comment-author" href="<%= n.actor_url %>" rel="nofollow noopener" target="_blank"><% = n.actor_name%></a>9 <% } else { %><span class="comment-author"><% = n.actor_name%></span><% } %>8 <% if (n.actor_url) { %><a class="comment-author" href="<%= n.actor_url %>" rel="nofollow noopener" target="_blank"><%- emojiName(n.actor_name, n.actor_emoji_json) %></a> 9 <% } else { %><span class="comment-author"><%- emojiName(n.actor_name, n.actor_emoji_json) %></span><% } %> 10 10 <% if (n.actor_handle) { %><span class="fedi-handle"><%= n.actor_handle %></span><% } %> 11 11 <% if (n.created_at) { %><span class="comment-time"><%= formatDateTime(n.created_at) %></span><% } %> 12 12 </div> 13 <div class="comment-content"><%- n.content%></div>13 <div class="comment-content"><%- emojiHtml(n.content, n.emoji_json) %></div> 14 14 <%# Rich replies: media on our own sent replies (attachments on the Note). 15 15 Visitors see these too, and the reply editor (owner-only) may not render, -
src/views/partials/msg-item.ejs
r3597763 ref1853c 40 40 <% if (n.to_handle) { %><span class="msg-handle">→ <%= n.to_handle %></span><% } %> 41 41 <% } else { %> 42 <a class="msg-who" href="<%= n.url %>" target="_blank" rel="nofollow noopener"><% = _who%></a>42 <a class="msg-who" href="<%= n.url %>" target="_blank" rel="nofollow noopener"><%- emojiName(_who, n.actor_emoji_json) %></a> 43 43 <% if (n.handle && n.name) { %><span class="msg-handle"><%= n.handle %></span><% } %> 44 44 <% } %> … … 67 67 68 68 <% if (_t === 'report' && n.content) { %><div class="msg-content"><%= n.content %></div> 69 <% } else if ((_t === 'reply' || _t === 'mention' || _t === 'sent') && n.content) { %><div class="msg-content"><%- n.content%></div>69 <% } else if ((_t === 'reply' || _t === 'mention' || _t === 'sent') && n.content) { %><div class="msg-content"><%- emojiHtml(n.content, n.emoji_json) %></div> 70 70 <% if (_t === 'mention' && n.wave && n.actorUri && canMutate) { %> 71 71 <form class="msg-quickreply" method="post" action="<%= (typeof siteUrlBase !== 'undefined' ? siteUrlBase : '') %>/messages/quick-reply" style="display:flex;gap:6px;flex-wrap:wrap;margin-top:6px"> -
src/views/partials/shared-styles.ejs
r3597763 ref1853c 193 193 .load-more-btn:hover { background: color-mix(in srgb, var(--ink, #000) 9%, transparent); } 194 194 .load-more-btn.htmx-request { opacity: .6; pointer-events: none; } 195 196 /* FEP-9098 custom emojis: small inline images (Shaer parity), rendered in note 197 content and display names across the timeline, messages and threads. Never 198 styled as media (no rounding/background), and never blown up to media width. */ 199 img.emoji { height: 1.3em; width: auto; margin: 0 .05em; vertical-align: -0.2em; 200 display: inline-block; border-radius: 0; background: none; box-shadow: none; } 201 .tl-content img.emoji, .tl-quote-body img.emoji, .msg-content img.emoji, .comment-content img.emoji, 202 .tl-author img.emoji, .tl-boost-by img.emoji, .tl-quote-name img.emoji, .msg-who img.emoji, .comment-author img.emoji { 203 max-width: none; height: 1.3em; border-radius: 0; background: none; box-shadow: none; vertical-align: -0.2em; } 195 204 </style>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)