Peach: Local-first video metadata scraper and media manager.
fix(entity): match home rail spacing
longmeidaobfb3d6803d0b
diff --git a/tests/test_web_ui.py b/tests/test_web_ui.pyindex 19a345392..592e60e92 100644--- a/tests/test_web_ui.py+++ b/tests/test_web_ui.py@@ -1348,6 +1348,12 @@ class WebUiSourceTests(unittest.TestCase):self.assertNotIn("关联艺人", profile)self.assertNotIn("相关标签", profile)+ def test_entity_people_and_tags_match_home_vertical_rhythm(self):+ # 首页末层按钮到标签为 18.5px;人物行保留 4px 滚动留白后只需 6px 外边距。+ self.assertPageContains(".entitymeta{display:grid;gap:22px;margin:0 0 6px;min-width:0}")+ self.assertPageContains(".relatedpeople{display:flex;gap:14px;overflow-x:auto;padding-bottom:4px")+ self.assertPageContains("height:var(--filterH);margin:0 -16px;padding:9px 16px")+def test_every_home_navigation_restores_the_shared_facets(self):self.assertPageContains("function showHomeSurfaces()")self.assertPageContains("$('#tiers').style.display='';$('#tagbar').style.display=''")diff --git a/web/app.css b/web/app.cssindex 401e57bda..88775e624 100644--- a/web/app.css+++ b/web/app.css@@ -365,7 +365,7 @@ body.entity-open .index{overflow-x:visible}stroke-width:1.8}.entitylinkicon img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#fff}.entitylinklabel{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entitylinkarrow{color:var(--muted);flex:none}.entityterms{margin-top:13px;color:var(--muted);font-size:var(--fs-xs)}.entityterms code{color:var(--ink-2);margin-right:8px}-.entitymeta{display:grid;gap:22px;margin:0 0 28px;min-width:0}.entitymeta section{min-width:0}.entitysection h3{font-size:var(--fs-sm);letter-spacing:.08em;color:var(--muted);margin:0 0 12px}+.entitymeta{display:grid;gap:22px;margin:0 0 6px;min-width:0}.entitymeta section{min-width:0}.entitysection h3{font-size:var(--fs-sm);letter-spacing:.08em;color:var(--muted);margin:0 0 12px}.entitytagbar{position:sticky;top:var(--topH);z-index:61;display:flex;align-items:center;height:var(--filterH);margin:0 -16px;padding:9px 16px;background:transparent;border-bottom:1px solid transparent}