- fitCert: replace the flaky CSS `zoom` (Firefox support is recent/inconsistent) with transform:scale() measured against the widest line (+ right margin and font-load retries) so the cert always scales to fit the inspector with no horizontal clip. Validated live on a narrow 5B cert (0.74x) and a wide DSCA45 cert (0.55x) against the real AD2 dataset. - inspector Web field -> Published (green) / Not published (amber) chips. - widen default inspector 480 -> 500px. - tools/preview-proxy.py: serve the prototype AND reverse-proxy /api to the live AD2 server so the cert iframe is same-origin during preview — styleCert/fitCert read iframe.contentDocument, which silently no-ops when the iframe is loaded cross-origin straight from AD2 (why the fit looked broken in earlier previews). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2.2 KiB
2.2 KiB