add page margin to tag listing
This commit is contained in:
@@ -43,7 +43,7 @@ pub async fn page(req: Request) -> Result<Response, AuthError> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
@if let Ok(tags) = Tag::get_all(&conn) {
|
@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 {
|
@for tag in &tags {
|
||||||
div class="rounded-full px-3 py-1 bg-neutral-200/10 border border-neutral-200/15 flex" {
|
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" {"#"}
|
span class="text-neutral-400 text-sm" {"#"}
|
||||||
|
|||||||
Reference in New Issue
Block a user