Skip to content

Pad the Cursor logo avatar on pr-review-canvas and docs-canvas#54

Merged
SamSokolin merged 1 commit intocursor:mainfrom
maloneya:amaloney/canvas-plugin-logo-padding
Apr 15, 2026
Merged

Pad the Cursor logo avatar on pr-review-canvas and docs-canvas#54
SamSokolin merged 1 commit intocursor:mainfrom
maloneya:amaloney/canvas-plugin-logo-padding

Conversation

@maloneya
Copy link
Copy Markdown
Collaborator

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 56 to -15.5 -12 80 80 — same path, same color, just ~20% breathing room on each side. The proportions now match packages/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.
  • CI Validate plugins passes.
  • After indexer sync, confirm the icon tile on the Canvas welcome card shows the cube centred rather than edge-bleed.

Made with Cursor

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants