diff --git a/web/components/Collapsible.tsx b/web/components/Collapsible.tsx index 50a7c30..bacbfba 100644 --- a/web/components/Collapsible.tsx +++ b/web/components/Collapsible.tsx @@ -79,7 +79,12 @@ export function Collapsible({ // 손절 987,654") 사이드바 폭을 넘기는 대신 말줄임표로 끝나도록. shrink-0 였을 땐 // title 을 밀어내며 헤더가 두 줄로 깨질 수 있었음. title 쪽도 min-w-0 을 줘 flex // shrink 계산이 올바르게 되도록. - + // + // 크기 토큰: text-[11px] — CardHeader 의 subtitle 과 동일 토큰. 사이드바 패널 + // 헤더(Collapsible) 와 본문 카드 헤더(CardHeader) 가 같은 페이지 좌우에 나란히 + // 놓이므로 헤더 우측 보조 텍스트 크기를 통일. 280px 좁은 사이드바에서도 truncate + // 가 overflow 를 흡수해 1px 키워도 wrap 위험 없음. + {subtitle} )}