Repository navigation
Fix caption wrapping and configurable vertical offset - #2561
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #2560. Captions now wrap within their pill, and recipes can configure a validated pixel offset to move them away from sticky headers or other content.
What changed
How to test
npm ci && npm run build && npm run test:browser-annotations; expect passes as recorded by Cook's deterministic gate.Compatibility
Additive for captions: omitting `offset` preserves the existing placement, while caption text now wraps instead of overflowing. Labels are unaffected. Invalid or non-caption offsets are rejected during step validation.
Evidence
npm ci && npm run build && npm run test:browser-annotations: status=succeeded; candidate commit16e9e9c3b8b71d159ecd3adf51688456daa43cdc, tree27da5c1a76ae95757e5bbefea8118e5ddad5d115, fingerprint8f48f250f36cf8e746ee8dc7178d03356aa13cfdc5619781419d4f833c5025db; durable gategate-1AI assistance