diff --git a/frontend_nuxt/components/TimelineCommentGroup.vue b/frontend_nuxt/components/TimelineCommentGroup.vue index 89ce08b02..c7b1cd2f7 100644 --- a/frontend_nuxt/components/TimelineCommentGroup.vue +++ b/frontend_nuxt/components/TimelineCommentGroup.vue @@ -9,23 +9,6 @@
- - 在 - - {{ entry.comment.post.title }} - - - - { return [] }) -const formattedDate = computed(() => TimeManager.format(props.item.createdAt)) +const formattedDate = computed(() => TimeManager.formatWithDay(props.item.createdAt)) const hasReplies = computed(() => entries.value.some((entry) => !!entry.comment.parentComment)) const hasComments = computed(() => entries.value.some((entry) => !entry.comment.parentComment)) @@ -93,9 +76,8 @@ const parentSnippet = (entry) => display: flex; flex-direction: column; gap: 12px; - padding: 10px 12px; - border-radius: 10px; - background: var(--timeline-card-background, transparent); + padding-top: 5px; + padding-bottom: 20px; } .timeline-header { @@ -112,20 +94,20 @@ const parentSnippet = (entry) => .timeline-date { font-size: 12px; color: var(--timeline-date-color, #888); + white-space: nowrap; } .comment-content { display: flex; flex-direction: column; - gap: 16px; + gap: 3px; } .comment-content-item { display: flex; - flex-direction: column; + flex-direction: row; + justify-content: space-between; gap: 6px; - padding-bottom: 6px; - border-bottom: 1px solid var(--comment-item-border, rgba(0, 0, 0, 0.05)); } .comment-content-item:last-child { @@ -160,11 +142,11 @@ const parentSnippet = (entry) => .timeline-comment-link { font-size: 14px; color: var(--link-color); - text-decoration: none; + text-decoration: underline; } .timeline-comment-link:hover { - text-decoration: underline; + color: var(--primary-color); } .timeline-link { diff --git a/frontend_nuxt/components/TimelinePostItem.vue b/frontend_nuxt/components/TimelinePostItem.vue index ae6f92045..77dc6c69c 100644 --- a/frontend_nuxt/components/TimelinePostItem.vue +++ b/frontend_nuxt/components/TimelinePostItem.vue @@ -13,11 +13,7 @@