Skip to content

fix(consent): @hanzo/ui 8.33.4, the cookie bar's × centred on its line (v0.1.22) - #16

Merged
Darkhorse7stars merged 1 commit into
mainfrom
chore/ui-8.33.4
Nov 13, 2026
Merged

Darkhorse7stars merged 1 commit into
mainfrom
chore/ui-8.33.4

Conversation

@Darkhorse7stars

Copy link
Copy Markdown
Member

What was wrong

hanzo.team's cookie notice (@hanzo/ui/consent, mounted in src/app.tsx) had its × off. Measured on this repo's build with the global rule:

  • At 1280px, the × sat 7px below the middle of the text, its foot 1px past the bar's bottom edge.
  • At 390px (touch), the text ran right into the × (0px gap).

The cause is in @hanzo/ui. It was fixed and released as 8.33.4 in hanzoai/ui#322.

What changed

  • @hanzo/ui 8.32.4 → 8.33.4; pnpm-lock.yaml regenerated (also @hanzo/tokens 1.1.1 → 1.1.3).
  • @hanzo/team 0.1.21 → 0.1.22, so merging publishes a version hanzo-inc/team can pin. hanzo.team updates once hanzo-inc/team bumps site/package.json.

After the bump, the × is centred on the text (0px off) and 13px inside the bar's foot. At 390px the text stops 8px before it.

What else the jump brings

8.33.0–8.33.3 come along: the sign-in card and providers row, plus the monochrome and neutral releases. I screenshotted /, /login and /issues offline, at 1280 (light and dark) and 390, before and after, and diffed the pixels. The only change outside the cookie bar is the Continue with Google / GitHub row, now in equal halves (8.33.1), which moves the buttons by about 2px. The rest of the diff is the hero's typing animation. No colour change shows on these pages. Signed-in screens weren't compared.

Checks (local)

  • pnpm run typecheck: 0 errors (0 before).
  • pnpm test: 75/75 (75/75 before).
  • pnpm run build: OK, dist/index.html present.

🤖 Generated with Claude Code

…e (v0.1.22)

hanzo.team's cookie notice hung its × 7px below the words, its foot 1px
past the bar's edge, and on a phone the words ran into it. @hanzo/ui 8.33.4
(hanzoai/ui#322) floors the words' line at the ×'s box, so the × is centred
on it (measured: 0px off, 13px inside the bar's foot, 8px clear of the words
at 390).

The pin moves from 8.32.4, so 8.33.0 to 8.33.3 come along: the only visible
change on the signed-out pages is the Google/GitHub row in equal halves
(about 2px). @hanzo/team 0.1.22 so hanzo-inc/team can pin it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Darkhorse7stars
Darkhorse7stars merged commit 36e1100 into main Nov 13, 2026
6 checks passed
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