From ddaf2bf1c4987bb9fba89406c97aa8d629b085b4 Mon Sep 17 00:00:00 2001 From: andrzej Date: Wed, 19 Jun 2024 22:11:09 +0200 Subject: [PATCH] add inspect button --- src/app/story/columns.tsx | 14 +++++++++----- src/app/tailwind.css | 8 ++++++++ 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/app/story/columns.tsx b/src/app/story/columns.tsx index 814ec46..f5b1f6e 100644 --- a/src/app/story/columns.tsx +++ b/src/app/story/columns.tsx @@ -4,8 +4,9 @@ import { StoryWithGenres } from "./page" import { ArrowUpDown, MoreHorizontal } from "lucide-react" import { Button } from "@/components/ui/button" import { Badge } from "@/components/ui/badge" -import { Trash2 } from "lucide-react" +import { Trash2, Search } from "lucide-react" import { deleteStory } from "app/lib/del" +import Link from "next/link" const columnHelper = createColumnHelper() @@ -51,11 +52,14 @@ export const columns: ColumnDef[] = [ }), { id: "actions", - header: "Actions", + // header: "Actions", cell: ({ row }) => { - return + return
+ + +
} } diff --git a/src/app/tailwind.css b/src/app/tailwind.css index 8b3d7ec..2b4a9bf 100644 --- a/src/app/tailwind.css +++ b/src/app/tailwind.css @@ -883,6 +883,10 @@ body { flex-direction: column-reverse; } +.content-center { + align-content: center; +} + .items-start { align-items: flex-start; } @@ -903,6 +907,10 @@ body { justify-content: space-between; } +.justify-around { + justify-content: space-around; +} + .gap-1 { gap: 0.25rem; }