Skip to content

Make pikchrHex.svg a clean standalone logo (fix bottom clipping)#9

Merged
milkway merged 1 commit into
mainfrom
fix/hexsvg-standalone
Jun 14, 2026
Merged

Make pikchrHex.svg a clean standalone logo (fix bottom clipping)#9
milkway merged 1 commit into
mainfrom
fix/hexsvg-standalone

Conversation

@milkway

@milkway milkway commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

man/figures/pikchrHex.svg carried a leftover inline style from the pikchr() HTML wrapper: width:100%; height:auto; margin:10px 0 10px 0. With height:auto and no intrinsic height, some SVG viewers rendered it without a defined aspect ratio and clipped the bottom of the hexagon.

This replaces that style with explicit width/height attributes (matching the viewBox) and a font-family presentation attribute, giving the SVG a defined intrinsic size so it renders identically everywhere. The geometry is unchanged (regular hexagon, 0.866 ratio). logo.png regenerated from it.

🤖 Generated with Claude Code

The logo SVG carried a leftover inline style from the pikchr() HTML
wrapper (width:100%; height:auto; margin:10px 0 10px 0). With
height:auto and no intrinsic height, some viewers rendered it without a
defined aspect ratio, clipping the bottom of the hexagon.

Replace it with explicit width/height attributes matching the viewBox and
a font-family presentation attribute, so the SVG has a defined intrinsic
size and renders identically everywhere. Geometry unchanged (regular
hexagon, 0.866 ratio). Regenerate logo.png from it.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@milkway milkway merged commit cf78167 into main Jun 14, 2026
@milkway milkway deleted the fix/hexsvg-standalone branch June 14, 2026 18:46
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.

1 participant