Peach: Local-first video metadata scraper and media manager.
fix(web): 对齐艺人头像占位的圆形样式
longmeidao88ca6c326805
diff --git a/frontend/e2e/entity-cold-skeleton.test.ts b/frontend/e2e/entity-cold-skeleton.test.tsindex 42d638075..d5f38fee8 100644--- a/frontend/e2e/entity-cold-skeleton.test.ts+++ b/frontend/e2e/entity-cold-skeleton.test.ts@@ -55,6 +55,8 @@ describe('实体页冷启动等待态', () => {const root = page.locator('[data-skeleton="entity/performer"]');await root.waitFor();const first = await root.elementHandle();+ assert.equal(await root.locator('[data-entity-portrait="round"]').evaluate(node =>+ getComputedStyle(node).borderTopLeftRadius), '50%', '艺人头像等待态形状不准确');assert.equal(await root.locator('[data-entity-facts]').count() > 0, jav, '首次等待态资料栏不准确');assert.equal(await root.locator('[data-entity-foot]').count() > 0, jav, '首次等待态相关艺人不准确');assert.equal(await root.locator('[data-entity-layout]').count() > 0, jav, '首次等待态卡片版式不准确');diff --git a/web/css/07-entity.css b/web/css/07-entity.cssindex 6b76247a2..d5746eb39 100644--- a/web/css/07-entity.css+++ b/web/css/07-entity.css@@ -41,6 +41,7 @@.entityskeletontext .alias .skeleton{display:block;width:40%;height:20px}.entityskeletontext .entitylinks .skeleton{width:180px;height:36px}[data-skeleton^="entity/"] .entityportrait{height:var(--portrait-size)}+[data-skeleton^="entity/"] .entityportrait:not(.square){border-radius:50%}[data-skeleton^="entity/"] .entityfacts dt .skeleton{display:block;width:56px;height:16px;margin-block:3px}[data-skeleton^="entity/"] .entityfacts dd .skeleton{display:block;width:70%;height:16px;margin-block:3px}[data-skeleton^="entity/"] .entitycollectionhead .skeleton{width:90px;height:20px}