add page margin to tag listing

This commit is contained in:
2026-04-09 13:04:17 +02:00
parent 18f420c7d4
commit 30254864a9

View File

@@ -43,7 +43,7 @@ pub async fn page(req: Request) -> Result<Response, AuthError> {
}
}
@if let Ok(tags) = Tag::get_all(&conn) {
div class="max-w-4xl mx-auto mt-4 flex flex-wrap gap-2" {
div class="max-w-4xl mx-auto px-2 mt-4 flex flex-wrap gap-2" {
@for tag in &tags {
div class="rounded-full px-3 py-1 bg-neutral-200/10 border border-neutral-200/15 flex" {
span class="text-neutral-400 text-sm" {"#"}