Merge commit '8c700b1e080a29a02375664e856bc6e5b757c7c3' into feature/negodata

This commit is contained in:
minaChoi committed 2026-07-07 16:19:52 +09:00
commit 9ac8fe6363
26 files changed
+530 -62

No files matched your search

@@ -1,5 +1,6 @@
import type { ReactNode } from 'react';
import { DataTable } from '@/components/ui/data-table';
import { renderEmphasis } from '@/lib/emphasis';
import type { NegotiationCard } from '../types';
type CardTableProps = {
@@ -67,7 +68,8 @@ export function CardTable({ data, onEdit, footer }: CardTableProps) {
mobileBlock: true, // 긴 미리보기 블록 → 모바일 카드뷰에서 라벨 아래 풀폭
cell: (card) => (
<div className="max-w-[22rem] truncate bg-muted/20 px-2 py-1 rounded border border-border/30 text-[11px] leading-snug">
{card.scriptPreview}
{/* 마커(**굵게**·{{색}})를 스타일로 렌더 — 표 미리보기에 원시 마커가 보이지 않게 */}
{renderEmphasis(card.scriptPreview)}
</div>
),
},