Digest: more space below the 'From what you follow' heading
Per user — separate the heading a touch more from the first followed entry (bottom margin 18px → 28px). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -170,7 +170,7 @@ def build_digest(items: list[dict], brief_date: str, unsub_url: str, base: str |
|
|||||||
if followed:
|
if followed:
|
||||||
followed_html = (
|
followed_html = (
|
||||||
'<div style="font-size:20px;font-weight:700;letter-spacing:-0.01em;color:#0083ad;'
|
'<div style="font-size:20px;font-weight:700;letter-spacing:-0.01em;color:#0083ad;'
|
||||||
'margin:10px 0 18px">From what you follow</div>'
|
'margin:10px 0 28px">From what you follow</div>'
|
||||||
+ "".join(_item_html(it, base) for it in followed)
|
+ "".join(_item_html(it, base) for it in followed)
|
||||||
)
|
)
|
||||||
html = (
|
html = (
|
||||||
|
|||||||
Reference in New Issue
Block a user