diff --git a/frontend/src/app.css b/frontend/src/app.css index f7b6d63..ae4a8bb 100644 --- a/frontend/src/app.css +++ b/frontend/src/app.css @@ -213,3 +213,14 @@ body { /* Phase 1C: frontmatter 박스 — 본문 위 메타 표시 */ .md-frontmatter dt { font-weight: 500; } + +/* AI 요약(TL;DR 등) 마크다운 렌더 — 좁은 카드에 맞게 문단/리스트 마진 압축 */ +.summary-md > :first-child { margin-top: 0; } +.summary-md > :last-child { margin-bottom: 0; } +.summary-md p { margin: 0 0 0.45em; } +.summary-md ul, .summary-md ol { margin: 0.25em 0; padding-left: 1.2em; } +.summary-md ul { list-style: disc; } +.summary-md ol { list-style: decimal; } +.summary-md li { margin: 0.1em 0; } +.summary-md strong { font-weight: 700; } +.summary-md code { background: rgba(0, 0, 0, 0.05); padding: 0 0.3em; border-radius: 3px; } diff --git a/frontend/src/lib/components/AnalysisPanel.svelte b/frontend/src/lib/components/AnalysisPanel.svelte index 557c644..b6d23a9 100644 --- a/frontend/src/lib/components/AnalysisPanel.svelte +++ b/frontend/src/lib/components/AnalysisPanel.svelte @@ -12,6 +12,7 @@ -->