diff --git a/packages/cli/src/components/sequoia-comments.js b/packages/cli/src/components/sequoia-comments.js index be93a89..70f0f7c 100644 --- a/packages/cli/src/components/sequoia-comments.js +++ b/packages/cli/src/components/sequoia-comments.js @@ -260,17 +260,17 @@ const styles = ` white-space: nowrap; } +.sequoia-comment-handle::after { + content: "·"; + margin-left: 0.5rem; +} + .sequoia-comment-time { font-size: 0.875rem; color: var(--sequoia-secondary-color, #6b7280); flex-shrink: 0; } -.sequoia-comment-time::before { - content: "·"; - margin-right: 0.5rem; -} - .sequoia-comment-text { margin: 0; white-space: pre-wrap; @@ -973,8 +973,7 @@ class SequoiaComments extends BaseElement { const quotesHtml = quotes .map((post) => { - const quotePostUrl = buildBskyAppUrl(post.uri); - return `
${this.renderComment(post, false, 0, quotePostUrl)}
`; + return `
${this.renderComment(post, false, 0)}
`; }) .join(""); @@ -993,9 +992,8 @@ class SequoiaComments extends BaseElement { * @param {any} post - Post data * @param {boolean} showThreadLine - Whether to show the connecting thread line * @param {number} _index - Index in the flattened thread (0 = top-level) - * @param {string|null} postUrl - Optional URL to link the timestamp to (used for quote posts) */ - renderComment(post, showThreadLine = false, _index = 0, postUrl = null) { + renderComment(post, showThreadLine = false, _index = 0) { const author = post.author; const displayName = author.displayName || author.handle; const avatarHtml = author.avatar @@ -1005,9 +1003,7 @@ class SequoiaComments extends BaseElement { const profileUrl = `https://bsky.app/profile/${author.did}`; const textHtml = renderTextWithFacets(post.record.text, post.record.facets); const timeAgo = formatRelativeTime(post.record.createdAt); - const timeHtml = postUrl - ? `${timeAgo}` - : `${timeAgo}`; + const timeHtml = `${timeAgo}`; const threadLineHtml = showThreadLine ? '
' : "";