Skip to content

The logo beside the greeting is centred on the heading's line - #43

Merged
oblomov-dev merged 1 commit into
mainfrom
claude/affectionate-euler-hx01td
Nov 1, 2026
Merged

oblomov-dev merged 1 commit into
mainfrom
claude/affectionate-euler-hx01td

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

The logo started at the height of the heading's text and hung 50 px below it, so it looked lower than the heading. It now rises by half of what it is taller than the line: calc((1.15em - 104px) / 2), which is 29 px at 40 px type. On a phone the same is computed for the 64 px logo. The middle of the logo is now the middle of the heading's line. Measured where the middle falls:

Window Heading line, middle Logo, middle
1440 px 107 px 107 px
820 px 103 px 103 px
390 px 96 px 96 px

The row is shorter for it, so the 24 px hang into the space below goes. "Introduction" starts at 199 px instead of 204 px.

Only src/styles/global.css changes. npm run check passes: build plus 6 tests.


Generated by Claude Code

The logo started at the height of the heading's text and hung 50px below
it, so it read as lower than the heading. It rises by half of what it is
taller than the line now - 29px at 40px type, computed from the font
size so it holds at every width - and its middle is the line's middle:
107px at 1440px, 103px at 820px, 96px on a phone, measured. The row is
shorter for it, so the hang into the space below goes, and
"Introduction" starts at 199px (204px before).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014YZFmFZwmxFekaMfr3Ka5m
@oblomov-dev
oblomov-dev merged commit 48dd748 into main Nov 1, 2026
2 checks passed
@oblomov-dev
oblomov-dev deleted the claude/affectionate-euler-hx01td branch November 1, 2026 10:34
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