Adjust header menu layout for JP

What does this MR do and why?

Follow-up from !1660 (merged)

Adjusts header button layout for Japanese pages.

Why: If we're specifying a width in this region, we need to factor in what's inside. English pages include the Versions menu, and non-English pages do not.

Before After
image image

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Configure a local GitLab Docs environment.
  2. Check out this branch.
  3. Visit the homepage and an interior page in both EN and JP. Header button layout should be consistent with regular spacing between items.

Merge request acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading