fix(ui): add margin between post count and list in tag detail page
This commit is contained in:
parent
3ade2569df
commit
b666472193
@ -135,13 +135,15 @@ fn TagDetailContent(tag: String) -> Element {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
rsx! {
|
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}" }
|
span { class: "font-medium text-paper-primary", "{total}" }
|
||||||
" 篇文章"
|
" 篇文章"
|
||||||
}
|
}
|
||||||
for post in posts.iter() {
|
div { class: "mt-8",
|
||||||
PostCard { key: "{post.id}", post: post.clone() }
|
for post in posts.iter() {
|
||||||
|
PostCard { key: "{post.id}", post: post.clone() }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user