合并泥点弹窗透明修复

# Conflicts:
#	src/components/common/PublishShareModal.test.tsx
#	src/components/common/PublishShareModal.tsx
#	src/index.test.ts
This commit is contained in:
2026-06-12 15:35:19 +08:00
324 changed files with 36177 additions and 12743 deletions

View File

@@ -126,6 +126,29 @@ describe('index stylesheet unread dots', () => {
expect(block).toContain('transform: scale(0.88);');
expect(block).toContain('transform-origin: center;');
});
it('keeps the creation shelf point incentive action button compact', () => {
const css = readIndexCss();
const surfaceBlock = getCssBlock(
css,
'.creation-work-card-incentive__button.platform-button',
);
const compactButtonBlock = getCssBlock(
css,
'.creation-work-card-incentive__button.platform-button {\n display: inline-flex;',
);
const mobileQueryIndex = css.indexOf('@media (max-width: 639px)');
const mobileSelectorIndex = css.indexOf(
'.creation-work-card-incentive__button.platform-button',
mobileQueryIndex,
);
expect(surfaceBlock).toContain('border: 1px solid');
expect(surfaceBlock).toContain('background: color-mix(');
expect(compactButtonBlock).toContain('min-height: 2.55rem;');
expect(compactButtonBlock).toContain('font-size: 0.68rem;');
expect(mobileSelectorIndex).toBeGreaterThanOrEqual(0);
});
});
describe('index stylesheet draft mobile cards', () => {