From b66647219398fb16ea6c761d3cfe7a443ab4cbaa Mon Sep 17 00:00:00 2001 From: xfy Date: Mon, 29 Jun 2026 14:05:47 +0800 Subject: [PATCH] fix(ui): add margin between post count and list in tag detail page --- src/pages/tags.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/pages/tags.rs b/src/pages/tags.rs index 370cbc4..f12a84b 100644 --- a/src/pages/tags.rs +++ b/src/pages/tags.rs @@ -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() } + } } } }