feat(ui): make article titles larger and show summaries

- Increase title font size to 2.5rem (desktop) and 2rem (mobile)
- Add font-weight: 700 and better line-height to titles
- Increase summary font size to 1.2rem with better line-height
- Fix missing summary display by passing summary prop to ReaderHeader
- Improve readability and visual hierarchy of article headers
This commit is contained in:
Gigi
2025-10-13 23:33:23 +02:00
parent acf14ccee9
commit f94e4ba900
2 changed files with 7 additions and 6 deletions

View File

@@ -73,6 +73,7 @@ const ContentPanel: React.FC<ContentPanelProps> = ({
markdown,
selectedUrl,
image,
summary,
published,
highlights = [],
showHighlights = true,
@@ -416,7 +417,7 @@ const ContentPanel: React.FC<ContentPanelProps> = ({
<ReaderHeader
title={ytMeta?.title || title}
image={image}
summary={undefined}
summary={summary}
published={published}
readingTimeText={isExternalVideo ? (videoDurationSec !== null ? formatDuration(videoDurationSec) : null) : (readingStats ? readingStats.text : null)}
hasHighlights={hasHighlights}