Skip to content

docs(docs-infra): adjust close button spacing in mobile navigation#68160

Open
erkamyaman wants to merge 1 commit intoangular:mainfrom
erkamyaman:fix/docs-infra-mobile-nav-close-button-spacing
Open

docs(docs-infra): adjust close button spacing in mobile navigation#68160
erkamyaman wants to merge 1 commit intoangular:mainfrom
erkamyaman:fix/docs-infra-mobile-nav-close-button-spacing

Conversation

@erkamyaman
Copy link
Copy Markdown
Contributor

Use relative positioning to offset the close button from the top edge without affecting the layout of surrounding elements.

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.dev application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

On mobile, the close button in the navigation panel sits too close to the top edge, making it look visually off.

Issue Number: N/A

What is the new behavior?

The close button is offset from the top edge using relative positioning, improving visual spacing without affecting the layout of surrounding elements.

Before vs After
Before-After

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@pullapprove pullapprove bot requested a review from devversion April 13, 2026 07:16
@angular-robot angular-robot bot added area: docs Related to the documentation area: docs-infra Angular.dev application and infrastructure labels Apr 13, 2026
@ngbot ngbot bot added this to the Backlog milestone Apr 13, 2026
@erkamyaman
Copy link
Copy Markdown
Contributor Author

@JeanMeche we might need rerun the preview test, i believe it failed

@github-actions
Copy link
Copy Markdown

Deployed adev-preview for 10bcbda to: https://ng-dev-previews-fw--pr-angular-angular-68160-adev-prev-h2zxfisl.web.app

Note: As new commits are pushed to this pull request, this link is updated after the preview is rebuilt.

@erkamyaman
Copy link
Copy Markdown
Contributor Author

Deployed adev-preview for 10bcbda to: https://ng-dev-previews-fw--pr-angular-angular-68160-adev-prev-h2zxfisl.web.app

Note: As new commits are pushed to this pull request, this link is updated after the preview is rebuilt.

@JeanMeche all good now, thx!

Use relative positioning to offset the close button from the top edge without affecting the layout of surrounding elements.
@erkamyaman erkamyaman force-pushed the fix/docs-infra-mobile-nav-close-button-spacing branch from 10bcbda to 7e4e9df Compare April 13, 2026 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adev: preview area: docs Related to the documentation area: docs-infra Angular.dev application and infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants