Pad the Cursor logo avatar on pr-review-canvas and docs-canvas#54
Merged
SamSokolin merged 1 commit intocursor:mainfrom Apr 15, 2026
Merged
Conversation
The cube was filling the SVG's entire 49x56 viewBox edge-to-edge, so the marketplace's rounded icon tile had the cube pressed against its frame. Expand the viewBox to -15.5 -12 80 80 (leaving ~20% padding on each side) so the cube sits centered in the tile with breathing room, matching the proportions of the official packages/agent-controller cursor-logo-24.png. Path data is unchanged. Made-with: Cursor
3 tasks
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
Follow-up to #52. Once the two plugins landed in production, the Cursor cube avatar was pressed against the edges of the marketplace's rounded icon tile — the cube filled the SVG's 49×56 viewBox with zero padding, so the tile rendered with the cube crowded against the frame.
This PR expands the viewBox from
0 0 49 56to-15.5 -12 80 80— same path, same color, just ~20% breathing room on each side. The proportions now matchpackages/agent-controller/assets/media/logos/cursor-logo-24.png(the properly-designed small Cursor logo).Before / after
Before (what merged in #52): cube fills the full icon tile edge-to-edge.
After: cube centred in the tile with a margin of whitespace, matching the look of other cursor-public plugin avatars.
Test plan
node scripts/validate-plugins.mjs— passes.Validate pluginspasses.Made with Cursor