From 647e2e487238aed36ff9a880648e5c3e8725160f Mon Sep 17 00:00:00 2001
From: joonhoekim <26rote@gmail.com>
Date: Thu, 27 Nov 2025 15:11:02 +0900
Subject: (김준회) dolce 컬럼 조정
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/dolce/table/detail-drawing-columns.tsx | 29 +++++++++++++----------------
 1 file changed, 13 insertions(+), 16 deletions(-)

(limited to 'lib/dolce/table/detail-drawing-columns.tsx')

diff --git a/lib/dolce/table/detail-drawing-columns.tsx b/lib/dolce/table/detail-drawing-columns.tsx
index 6127a7b6..851d8903 100644
--- a/lib/dolce/table/detail-drawing-columns.tsx
+++ b/lib/dolce/table/detail-drawing-columns.tsx
@@ -122,15 +122,6 @@ export function createDetailDrawingColumns(
         return <div>{lng === "en" ? (userENM || userNM) : (userNM || userENM)}</div>;
       },
     },
-    {
-      accessorKey: "CreateDt",
-      header: t("detailDrawing.columns.createdAt"),
-      minSize: 200,
-      cell: ({ row }) => {
-        const date = row.getValue("CreateDt") as string;
-        return <div className="text-sm text-muted-foreground">{formatDolceDateTime(date)}</div>;
-      },
-    },
     {
       accessorKey: "RegisterDesc",
       header: "Comment",
@@ -145,18 +136,14 @@ export function createDetailDrawingColumns(
       id: "actions",
       header: t("detailDrawing.columns.actions"),
       minSize: 100,
-      maxSize: 100,
       cell: ({ row }) => {
         const status = row.getValue("Status") as string;
         const isEditable = status === "Standby";
         
         return (
-          <div
-            className="flex items-center justify-center"
-            onClick={(e) => e.stopPropagation()}
-          >
+          <div className="flex gap-2 items-center justify-center">
             <Button
-              variant="ghost"
+              variant="outline"
               size="sm"
               disabled={!isEditable || !onEdit}
               onClick={(e) => {
@@ -165,11 +152,21 @@ export function createDetailDrawingColumns(
               }}
               title={!isEditable ? t("editDetailDialog.statusSubmittedOnly") : t("editDetailDialog.editButton")}
             >
-              <Edit className="h-4 w-4" />
+              <Edit className="h-4 w-4 mr-2" />
+              {t("editDetailDialog.editButton")}
             </Button>
           </div>
         );
       },
     },
+    {
+      accessorKey: "CreateDt",
+      header: t("detailDrawing.columns.createdAt"),
+      minSize: 250,
+      cell: ({ row }) => {
+        const date = row.getValue("CreateDt") as string;
+        return <div className="text-sm text-muted-foreground">{formatDolceDateTime(date)}</div>;
+      },
+    },
   ];
 }
-- 
cgit v1.2.3

