From 3fc91db51530b5e034996408d4701d857d025965 Mon Sep 17 00:00:00 2001 From: xfy Date: Fri, 5 Jun 2026 18:22:59 +0800 Subject: [PATCH] fix(posts): replace space-x-3 with flex gap-3 for edit/delete button spacing --- src/pages/admin/posts.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/admin/posts.rs b/src/pages/admin/posts.rs index 953707a..5a5ae43 100644 --- a/src/pages/admin/posts.rs +++ b/src/pages/admin/posts.rs @@ -124,7 +124,7 @@ fn PostRow(post: Post, deleting: bool, on_delete: EventHandler) -> Element td { class: "px-4 py-3 text-gray-500 dark:text-[#9b9c9d]", "{date_str}" } - td { class: "px-4 py-3 text-right space-x-3", + td { class: "px-4 py-3 text-right flex justify-end gap-3", Link { class: "text-xs text-gray-600 dark:text-[#9b9c9d] hover:text-gray-900 dark:hover:text-[#dadadb] transition-colors cursor-pointer", to: Route::WriteEdit { id: post.id },