feat: support upvote and comment for moments

This commit is contained in:
Erzbir
2026-04-09 16:31:43 +08:00
parent 1a3fe6bb26
commit 61ea8bd77b
4 changed files with 185 additions and 24 deletions
+34
View File
@@ -11,4 +11,38 @@
object-fit: cover;
border-radius: var(--size-theme-font);
transition: transform 0.3s ease;
}
.moment-footer {
display: flex;
align-items: center;
gap: 1rem;
margin-top: calc(var(--size-theme-font) * 0.8);
}
.moment-action-btn {
padding: 0;
display: inline-flex;
align-items: center;
gap: 0.35em;
border: none;
font-size: calc(var(--size-theme-font) * 0.85);
color: var(--color-theme-foreground);
&:hover {
background: none;
}
&.active {
color: var(--color-theme-accent);
}
}
.moment-comment-section {
display: none;
&.active {
display: block;
}
}