Skip to content

fix(web): normalize "Runs on" platform logo sizing#280

Merged
NikolayS merged 1 commit into
mainfrom
polish/runs-on-logo-normalization
Jun 3, 2026
Merged

fix(web): normalize "Runs on" platform logo sizing#280
NikolayS merged 1 commit into
mainfrom
polish/runs-on-logo-normalization

Conversation

@NikolayS
Copy link
Copy Markdown
Owner

@NikolayS NikolayS commented Jun 3, 2026

What

Polish pass on the landing Runs on platform wall. Fixes the reported Ubicloud tile and normalizes all 21 tiles for consistent optical size and centering. No logo or color is changed — purely sizing/centering/optical balance.

Ubicloud

The source PNG was a wide wordmark whose content sat ~14px left of the 96px canvas center and only ~70%×28% of the box, so it rendered both off-center and too small. After trimming + re-centering, it sits dead-center and is width-capped to a legible, on-weight size.

Consistency pass (all 21 tiles)

Logos have different intrinsic aspect ratios and built-in whitespace, so equal CSS box sizes gave unequal optical sizes. Two changes:

  1. Trimmed every logo PNG to its tight content bbox, re-centered on a square canvas (web/public/logos/png/*.png). This removes per-PNG padding asymmetry so object-fit: contain yields even weight. Previously-undersized marks (Aiven 73%×60%, Google Cloud SQL 75%, Neon 81%) now match the rest; Ubicloud re-centers automatically.
  2. Per-logo width caps for the three wide wordmarks (Oracle, IBM, Ubicloud) in web/src/pages/index.astro so they read at a consistent stroke weight without ballooning the chip vertically. Square marks render at a single 25px size.

Preserved

Neutral chip treatment, Tiger Data dark chip, both-theme legibility, grid layout, and no overflow at 360px.

Verification

  • cd web && npm run build — clean.
  • Screenshotted the wall in light and dark; every tile reads at uniform weight, Ubicloud centered, Tiger Data dark chip intact, all marks legible on both themes.
  • Verified single-column collapse at 360px with no tile horizontal overflow (chips are fixed 38px; names ellipsis-truncate — unchanged by this PR).

🤖 Generated with Claude Code

Center and resize the Ubicloud mark (it sat ~14px left of center and
rendered too small as a wide wordmark on an asymmetric canvas), then
normalize the whole 21-tile wall for consistent optical weight.

Trim every logo PNG to its tight content bounding box and re-center it on
a square canvas, so equal CSS box sizes yield equal optical sizes
regardless of each source PNG's built-in whitespace or aspect ratio.
Marks that were undersized due to internal padding (Aiven, Google Cloud
SQL, Neon) now match the rest. Width-cap the three wide wordmarks
(Oracle, IBM, Ubicloud) so they read at a consistent stroke weight.

No logo or color is changed. Neutral chip, Tiger Data dark chip,
both-theme legibility, grid layout, and 360px no-overflow are preserved.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@NikolayS NikolayS merged commit f837302 into main Jun 3, 2026
15 checks passed
@NikolayS NikolayS deleted the polish/runs-on-logo-normalization branch June 3, 2026 01:08
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