Skip to content

Commit d4129a7

Browse files
committed
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.
1 parent f95d757 commit d4129a7

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

adev/src/app/features/home/home.component.scss

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,12 @@
2828
left: calc(var(--layout-padding) + var(--primary-nav-width));
2929
z-index: 1;
3030

31-
@include mq.for-tablet-down {
32-
justify-content: flex-start;
31+
@include mq.for-tablet-landscape-down {
32+
justify-content: center;
33+
margin-top: 4rem;
34+
}
35+
36+
@include mq.for-phone-only {
3337
margin-top: 1rem;
3438
}
3539
}
@@ -187,7 +191,7 @@ section {
187191
}
188192

189193
.search-field {
190-
@include mq.for-tablet-down() {
194+
@include mq.for-tablet-landscape-down() {
191195
display: none;
192196
}
193197
}

0 commit comments

Comments
 (0)