fix(posts): replace space-x-3 with flex gap-3 for edit/delete button spacing

This commit is contained in:
xfy 2026-06-05 18:22:59 +08:00
parent c776536678
commit 3fc91db515

View File

@ -124,7 +124,7 @@ fn PostRow(post: Post, deleting: bool, on_delete: EventHandler<i32>) -> 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 },