Keep a description's headings, bullets and paragraphs, and draw them in the reader
The readers flattened a posting's HTML into one line with strip_html, so sections and bullets ran together. _shared.html_text gives a line per paragraph, '• ' before a list item and '## ' before a heading; every reader's description goes through it, sections read per role get their own headings, and the reader pane draws the lines as h3, ul and p. Excerpts leave the marks out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
17e7615599
commit
c497fe965d
44 files changed
+300
-147
No files matched your search
@@ -929,6 +929,9 @@ body[data-reader="open"] .company-strip { display: none; }
|
||||
margin-top: 1.3rem; font-size: 1.06rem; line-height: 1.7;
|
||||
}
|
||||
.prose p { margin: 0 0 1.05rem; }
|
||||
/* A description's headings and bullets (roles.js `paragraphs`), newsdesk's rules. */
|
||||
.prose h2, .prose h3, .prose h4 { line-height: 1.3; margin: 1.4rem 0 .7rem; }
|
||||
.prose ul, .prose ol { padding-left: 1.5rem; }
|
||||
.reader-out { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
|
||||
.reader-note a { color: var(--accent); }
|
||||
.reader-copy { margin-top: .8rem; }
|
||||
|
||||
Reference in new issue
Block a user