fix(ui): add margin between post count and list in tag detail page

This commit is contained in:
xfy 2026-06-29 14:05:47 +08:00
parent 3ade2569df
commit b666472193

View File

@ -135,13 +135,15 @@ fn TagDetailContent(tag: String) -> Element {
}
} else {
rsx! {
div { class: "mt-2 text-base text-paper-secondary",
div { class: "mt-2 mb-8 text-base text-paper-secondary",
""
span { class: "font-medium text-paper-primary", "{total}" }
" 篇文章"
}
for post in posts.iter() {
PostCard { key: "{post.id}", post: post.clone() }
div { class: "mt-8",
for post in posts.iter() {
PostCard { key: "{post.id}", post: post.clone() }
}
}
}
}