diff --git a/relay/main.go b/relay/main.go index f8bab52..3547137 100644 --- a/relay/main.go +++ b/relay/main.go @@ -440,6 +440,11 @@ func main() { overflow: hidden; margin-bottom: 10px; } + .post-id { + max-height: 100px; + overflow: hidden; + margin-bottom: 10px; + } .post-reactions { font-weight: bold; color: #007bff; @@ -536,6 +541,7 @@ func main() { item.posts.forEach(post => { html += '<div class="post">' + + '<div class="post-id">' + truncateContent(post.id) + '</div><hr />' + '<div class="post-content">' + truncateContent(post.content) + '</div>' + '<div class="post-reactions">Reactions: ' + post.reaction_count + '</div>' + '</div>';