Skip to content

armgit / peach

Public Imported from GitHub
0

Peach: Local-first video metadata scraper and media manager.

fix(follow): apply detail note spacing

longmeidaoc07c2ded0339
diff --git a/tests/test_follow_web.py b/tests/test_follow_web.py
index 8bcc31340..6cacd9fdf 100644
--- a/tests/test_follow_web.py
+++ b/tests/test_follow_web.py
@@ -1180,7 +1180,7 @@ class FollowWebSourceTests(unittest.TestCase):
self.assertPageContains('title="打开来源页面" aria-label="打开来源页面"')
self.assertNotIn('打开来源页面</a>', self.page)
self.assertPageContains(".followdetailtitle{display:flex;gap:5px")
- self.assertPageContains(".followmedianote{margin:18px 0 14px}")
+ self.assertPageContains(".fnote.followmedianote{margin:18px 0 14px}")
self.assertPageContains("followAuthorAvatar(authorSources)")
self.assertPageContains("followTagChip(item,tag,'button')")
self.assertPageContains(".followdetailtags .tg{max-width:none")
diff --git a/web/app.css b/web/app.css
index 08ff65bfc..40b1c6849 100644
--- a/web/app.css
+++ b/web/app.css
@@ -1252,7 +1252,7 @@ body.drawer-open .edge{opacity:0;pointer-events:none} /* 展开时窄栏让位
.followdetailtitle{display:flex;gap:5px;align-items:flex-start;margin-bottom:8px}.followdetailtitle .stitle{width:auto;max-width:calc(100% - 35px);margin:0}.followdetailtitle .followorigin{flex:none;width:30px;height:30px;margin:0;display:grid;place-items:center;border-radius:7px}.followdetailtitle .followorigin:hover{background:var(--hover)}
.followdetailidentity{display:flex;align-items:center;gap:10px;margin:2px 0 12px}.followdetailidentity .mav{flex:none}.followdetailidentity b,.followdetailidentity span{display:block}.followdetailidentity>div>span{margin-top:3px;color:var(--muted);font-size:var(--fs-xs)}
.followdetailsummary{margin:0 0 16px;line-height:1.6;color:var(--ink-2);white-space:pre-line}.followdetailtags .tg{max-width:none;overflow:visible;text-overflow:clip;white-space:normal;text-align:left;color:var(--ink-2);font-family:inherit}.followqueue .mixitempic>.fnothumb{position:static;width:100%;height:100%}
-.followmedianote{margin:18px 0 14px}.followdetailactions{margin-top:2px}.followdetailactions button:disabled{opacity:.45;cursor:default}.followorigin{display:inline-flex;align-items:center;gap:7px;width:max-content;margin-top:auto;color:var(--muted);text-decoration:none}.followorigin svg{width:16px;height:16px;stroke:currentColor;fill:none}.followorigin:hover{color:var(--ink);text-decoration:none}
+.fnote.followmedianote{margin:18px 0 14px}.followdetailactions{margin-top:2px}.followdetailactions button:disabled{opacity:.45;cursor:default}.followorigin{display:inline-flex;align-items:center;gap:7px;width:max-content;margin-top:auto;color:var(--muted);text-decoration:none}.followorigin svg{width:16px;height:16px;stroke:currentColor;fill:none}.followorigin:hover{color:var(--ink);text-decoration:none}
@media (max-width:640px){.followhead{align-items:center}.follow .fcheck{height:36px;padding:0 13px}
.followauthors{margin-right:-12px;padding-top:3px}.followfilters{margin-right:-12px;padding-right:12px}
}