261015_02_ENH: 컨택 진행 화면 발송 현황 모바일 UI 개선

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-10-15 08:34:49 +09:00
parent ae8f2e6fc5
commit 044579c27f

View File

@@ -23,10 +23,11 @@ const CollapsibleHistorySection = ({
return (
<div className={`space-y-2 ${showDivider ? 'border-t pt-3' : ''}`}>
<div className="flex w-full items-center justify-between gap-2">
{/* 제목과 headerExtra가 한 줄에 들어가지 않으면 headerExtra를 다음 줄 오른쪽으로 내린다. */}
<div className="flex w-full flex-wrap items-center justify-between gap-2">
<button
type="button"
className="flex min-w-0 flex-1 items-center gap-2 text-left text-sm font-semibold cursor-pointer"
className="flex min-w-0 flex-auto items-center gap-2 whitespace-nowrap text-left text-sm font-semibold cursor-pointer"
aria-expanded={open}
aria-controls={contentId}
onClick={() => setOpen((prev) => !prev)}
@@ -34,7 +35,7 @@ const CollapsibleHistorySection = ({
{open ? <ChevronDown className="h-4 w-4" /> : <ChevronRight className="h-4 w-4" />}
{title}
</button>
{headerExtra}
{headerExtra ? <div className="ml-auto">{headerExtra}</div> : null}
</div>
{open ? <div id={contentId}>{children}</div> : null}
</div>