fix(panel): remove 0.9x zoom distortion on structure previews and align capsule font/mock schema

This commit is contained in:
fish
2026-11-18 13:13:00 +09:00
parent c948126c96
commit 1602897178
10 changed files with 71 additions and 32 deletions
@@ -818,4 +818,6 @@ test('post-compaction context preserves static channels + checkpoint summary, ca
assert.match(stylesCss, /\.long-pill-nav\s*\{[^}]*container-type:\s*inline-size;[^}]*minmax\(0,\s*1fr\)[^}]*overflow:\s*hidden;/s);
assert.match(stylesCss, /\.pill-tab\s*\{[^}]*min-width:\s*0;/s);
assert.match(stylesCss, /@container\s*\(max-width:\s*30em\)\s*\{[\s\S]*?\.pill-tab-badge\s*\{\s*display:\s*none\s*!important;/);
assert.doesNotMatch(stylesCss, /\.structure-preview-canvas[^{]*\{[^}]*zoom:/, 'Structure preview must stay 1:1 without zoom distortion');
assert.match(stylesCss, /\.preview-capsule-bar\s*\{[^}]*"Google Sans Flex"/s);
});