The brand lockup spaces by the glyph, not by the image box

80041b159b44 · AtlantisPleb · · parent 979e72d53964

The brand lockup spaces by the glyph, not by the image box

The gap between the mark and the divider read wider than the gap between the
divider and the section name, even though both were the same 10px. The mark is
a PNG carrying about 16% transparent padding, so a gap measured from the
image's box lands about 4px further from the glyph than the same number does
from a letterform -- and the eye measures from the glyph.

The divider owns the spacing on both sides now, 6px before and 10px after, so
the two gaps look equal even though they are not.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0149rBWy7br1Z7bbz9NrQhEr
Co-Authored-By
Claude Opus 5 (1M context) <noreply@anthropic.com>

Deploy story

What this commit did to the running system — joined from the forge receipt chain, the part a commit page elsewhere cannot show.

Not deployed through the forge lane

No push, promotion, build, or deploy receipt references this commit (receipts are scanned over a bounded recent window). Changes shipped by full node replacement carry their proof in the release gate receipt instead.

Changed files

  • modified assets/css/openagents.css

Diff

1 file changed, +8 -1

assets/css/openagents.css modified +8 -1

@@ -2509,7 +2509,9 @@

2509 2509
    display: flex;
2510 2510
    flex: none;
2511 2511
    align-items: center;
2512
    gap: 10px;
2512
    /* No gap here: the divider owns the spacing on both of its sides, because
2513
       the two sides are not equal -- see `.sidebar-brand__divider`. */
2514
    gap: 0;
2513 2515
    min-height: 52px;
2514 2516
    padding-inline: 20px;
2515 2517
  }

@@ -2528,6 +2530,11 @@

2528 2530
    width: 1px;
2529 2531
    height: 16px;
2530 2532
    flex: none;
2533
    /* Not a symmetric gap. The mark is a PNG carrying about 16% transparent
2534
       padding, so a gap measured from the image's box reads ~4px wider on that
2535
       side than on the word's -- the eye measures from the glyph, not the box.
2536
       6px plus that padding is the 10px on the right. */
2537
    margin-inline: 6px 10px;
2531 2538
    background: var(--line-strong);
2532 2539
  }
2533 2540

This page updates live while a promote is in flight · changelog