mirror of
https://github.com/dergigi/boris.git
synced 2025-12-19 15:44:20 +01:00
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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user