Skip to content

docs(docs-infra): fix homepage nav overlay and banner visibility between 701–900px#68098

Open
erkamyaman wants to merge 1 commit intoangular:mainfrom
erkamyaman:fix-homepage-nav-overlap-tablet
Open

docs(docs-infra): fix homepage nav overlay and banner visibility between 701–900px#68098
erkamyaman wants to merge 1 commit intoangular:mainfrom
erkamyaman:fix-homepage-nav-overlap-tablet

Conversation

@erkamyaman
Copy link
Copy Markdown
Contributor

docs(docs-infra): fix homepage nav overlay and banner visibility between 701–900px

The homepage navigation bar rendered with height: 0 on viewports between 701–900px, causing its content to overflow on top of the announcement banner and block scrolling. Reset nav height to auto at tablet sizes, center the v21 banner, adjust its top margin, and hide the redundant search field since the nav bar already provides one.

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?

Between 701–900px viewport width, the homepage navigation renders with height: 0 while its content overflows, covering the "Angular v21 is here!" banner and blocking page scrolling. The search field is also redundantly shown alongside the nav bar's own search.

Issue Number: #68087

What is the new behavior?

  • The v21 banner is centered on tablet viewports
  • The homepage search field is hidden at ≀900px since the nav bar already provides search make sure
after.mov

search field
before
Screenshot 2026-04-08 at 22 59 18

after
image

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@pullapprove pullapprove bot requested a review from thePunderWoman April 8, 2026 20:02
@angular-robot angular-robot bot added area: docs Related to the documentation area: docs-infra Angular.dev application and infrastructure labels Apr 8, 2026
@ngbot ngbot bot modified the milestone: Backlog Apr 8, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

Deployed adev-preview for d4129a7 to: https://ng-dev-previews-fw--pr-angular-angular-68098-adev-prev-348uu0se.web.app

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

…een 701–900px

The homepage navigation bar rendered with `height: 0` on viewports between
701–900px, causing its content to overflow on top of the announcement banner
and block scrolling. Reset nav height to `auto` at tablet sizes, center the
v21 banner, adjust its top margin, and hide the redundant search field since
the nav bar already provides one.
@erkamyaman erkamyaman force-pushed the fix-homepage-nav-overlap-tablet branch from ad4313c to d4129a7 Compare April 8, 2026 20:35
@thePunderWoman thePunderWoman requested review from JeanMeche and removed request for thePunderWoman April 8, 2026 20:41
@aparzi
Copy link
Copy Markdown
Contributor

aparzi commented Apr 8, 2026

It is possible adjust the space around the menΓΉ? Is not align with other space elements in page. Collides on the edge

Screenshot 2026-04-08 alle 22 46 51

@erkamyaman
Copy link
Copy Markdown
Contributor Author

It is possible adjust the space around the menΓΉ? Is not align with other space elements in page. Collides on the edge

Screenshot 2026-04-08 alle 22 46 51

Good call! Definitely, it can be done but it is pre-existing. Since this card is about another issue, let's see what the caretaker has to say. Thank you!

@JeanMeche
Copy link
Copy Markdown
Member

Yeah let's make another PR for that !

margin-top: 4rem;
}

@include mq.for-phone-only {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caretaker note:
This is added to keep the mobile margin the same.

@JeanMeche
Copy link
Copy Markdown
Member

We have another issue with the tab selection which misplaced between 700 and 750px

Screenshot 2026-04-08 at 23 00 09

@erkamyaman
Copy link
Copy Markdown
Contributor Author

We have another issue with the tab selection which misplaced between 700 and 750px

Screenshot 2026-04-08 at 23 00 09

There is indeed this issue here! My frontend eyes failed me to see it. It seems pre-existing. But since it's related to this PR, I will have a look at it. Thank you!

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.

3 participants