Skip to content

feat(site): keep header controls visible below 50rem - #185

Merged
shahboura merged 1 commit into
mainfrom
feat/mobile-header-controls
Nov 5, 2026
Merged

shahboura merged 1 commit into
mainfrom
feat/mobile-header-controls

Conversation

@shahboura

Copy link
Copy Markdown
Owner

Summary

  • Below 50rem the docs header keeps GitHub, npm and the theme toggle at the right edge in desktop order, hides the duplicated controls in the mobile menu footer, and keeps 16px glyph spacing on both form factors. The toggle is a ghost control with a 35px circular hover halo; below 26.25rem the wordmark falls back to the badge.

Validation

  • npm run doctor
  • cd site && npm test (38 passed: Astro build + Playwright)
  • Playwright print-media check: header controls stay hidden in print
  • Pre-commit review gate: requirements, code, ux-responsive, ponytail

Agent Behavior & Policy Impact

  • No agent behavior/policy changes
  • Agent prompt/instruction behavior changed
  • Agent permissions changed
  • Command routing/metadata changed
  • Skill scope/allowlist changed

Risk & Rollback

  • Risk level: low
  • Rollback approach: revert the commit; changes are CSS, one Astro component, and Playwright specs with no data or config migration.

Show GitHub, npm and the theme toggle in the docs header on mobile, hide the
menu footer duplicates, and keep 16px glyph spacing on both form factors. The
toggle is a ghost control with a 35px halo.

Discord: https://discord.com/channels/1560915460386463755/1567688503318290523
@shahboura
shahboura merged commit 3064372 into main Nov 5, 2026
13 checks passed
@shahboura
shahboura deleted the feat/mobile-header-controls branch November 5, 2026 05:30
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