show event id in history page
This commit is contained in:
parent
a5d6cc7e2e
commit
bab736aa07
@ -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>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user