fix: show full AI summary and decode HTML entities
Remove CSS line-clamp that was truncating summaries to 3 lines (2 on mobile). The AI summary is 4 sentences and should be displayed in full. Also add decodeEntities() to clean up and ' artifacts in titles and summaries returned by the REST API. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -98,10 +98,6 @@
|
||||
line-height: 1.65;
|
||||
color: #4b5563;
|
||||
margin: 0 0 0.625rem;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* ── Author ────────────────────────────────────────────────────── */
|
||||
@@ -305,7 +301,6 @@
|
||||
|
||||
.pn-article-excerpt {
|
||||
font-size: 0.875rem;
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
|
||||
.pn-pagination {
|
||||
|
||||
Reference in New Issue
Block a user