Skip to content

chore(docx): updating nav spacing#2988

Draft
gdoddsjobber wants to merge 1 commit intomasterfrom
greg/docs-site-ui-changes
Draft

chore(docx): updating nav spacing#2988
gdoddsjobber wants to merge 1 commit intomasterfrom
greg/docs-site-ui-changes

Conversation

@gdoddsjobber
Copy link

@gdoddsjobber gdoddsjobber commented Mar 17, 2026

Motivations

The left-side navigation had uneven spacing between items and insufficient padding between the text and the edges of the selected/hover background, making it look visually inconsistent.

Changes

  • Increased nav item spacing (margin-bottom) from space-smaller (4px) to space-small (8px) for both list items and disclosure items
  • Increased nav link horizontal padding from space-smallest (2px) to space-small (8px)
  • Added margin-left/right: var(--negativeHoverOffset) to .navMenuLink so regular nav items (e.g. Home) match the full width of disclosure items (e.g. Patterns, Components)

Added

None

Changed

  • Increased nav item spacing (margin-bottom) from space-smaller (4px) to space-small (8px) for both list items and disclosure items
  • Increased nav link horizontal padding from space-smallest (2px) to space-small (8px)
  • Added margin-left/right: var(--negativeHoverOffset) to .navMenuLink so regular nav items (e.g. Home) match the full width of disclosure items (e.g. Patterns, Components)

Deprecated

n/a

Removed

n/a

Fixed

Visual bug fix

Security

css changes only

Testing

Navigate to the docs site and verify the left-side nav:

  • All nav items (Home, Patterns, Components, etc.) should be the same uniform width
  • There should be consistent 8px spacing between each nav item
  • The selected item background should have visible padding around the text on both sides
  • Changes can be
  • tested via Pre-release

In Atlantis we use Github's built in pull request reviews.

@gdoddsjobber gdoddsjobber changed the title chore (docx): updating nav spacing chore(docx): updating nav spacing Mar 17, 2026
@gdoddsjobber gdoddsjobber marked this pull request as ready for review March 17, 2026 19:04
@gdoddsjobber gdoddsjobber requested a review from a team as a code owner March 17, 2026 19:04
@cloudflare-workers-and-pages
Copy link

Deploying atlantis with  Cloudflare Pages  Cloudflare Pages

Latest commit: 607df5c
Status: ✅  Deploy successful!
Preview URL: https://c69418d7.atlantis.pages.dev
Branch Preview URL: https://greg-docs-site-ui-changes.atlantis.pages.dev

View logs

@gdoddsjobber gdoddsjobber marked this pull request as draft March 17, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant