diff --git a/web/src/components/items/ItemDetail.tsx b/web/src/components/items/ItemDetail.tsx index 92f72ef..f9e719e 100644 --- a/web/src/components/items/ItemDetail.tsx +++ b/web/src/components/items/ItemDetail.tsx @@ -1,5 +1,5 @@ import { useState, useEffect } from "react"; -import { X } from "lucide-react"; +import { X, Pencil, Trash2 } from "lucide-react"; import { get } from "../../api/client"; import type { Item } from "../../api/types"; import { MainTab } from "./MainTab"; @@ -114,22 +114,6 @@ export function ItemDetail({ {item.item_type} - {isEditor && ( - <> - - - - )} + + + )} {/* Tab Content */} @@ -207,3 +218,15 @@ const headerBtnStyle: React.CSSProperties = { fontSize: "var(--font-table)", padding: "0.25rem 0.5rem", }; + +const tabActionBtnStyle: React.CSSProperties = { + display: "inline-flex", + alignItems: "center", + gap: "0.25rem", + background: "none", + border: "none", + cursor: "pointer", + fontSize: "var(--font-table)", + padding: "0.25rem 0.5rem", + borderRadius: "0.25rem", +};