261015_02_ENH: 컨택 진행 화면 발송 현황 모바일 UI 개선
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -23,10 +23,11 @@ const CollapsibleHistorySection = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={`space-y-2 ${showDivider ? 'border-t pt-3' : ''}`}>
|
<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
|
<button
|
||||||
type="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-expanded={open}
|
||||||
aria-controls={contentId}
|
aria-controls={contentId}
|
||||||
onClick={() => setOpen((prev) => !prev)}
|
onClick={() => setOpen((prev) => !prev)}
|
||||||
@@ -34,7 +35,7 @@ const CollapsibleHistorySection = ({
|
|||||||
{open ? <ChevronDown className="h-4 w-4" /> : <ChevronRight className="h-4 w-4" />}
|
{open ? <ChevronDown className="h-4 w-4" /> : <ChevronRight className="h-4 w-4" />}
|
||||||
{title}
|
{title}
|
||||||
</button>
|
</button>
|
||||||
{headerExtra}
|
{headerExtra ? <div className="ml-auto">{headerExtra}</div> : null}
|
||||||
</div>
|
</div>
|
||||||
{open ? <div id={contentId}>{children}</div> : null}
|
{open ? <div id={contentId}>{children}</div> : null}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user