Skip to content

Commit c8ac080

Browse files
jaw-shclaude
andcommitted
fix(nav): ensure mobile nav is hidden by default
Add mobile media query to navigation.scss to override display:flex with display:none, ensuring menu is hidden until toggled. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent cc393f6 commit c8ac080

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

themes/usips/sass/layout/_navigation.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,15 @@
136136
display: none !important;
137137
}
138138

139+
// Mobile nav is controlled by _header.scss
140+
#main-nav {
141+
display: none;
142+
143+
&.mobile-open {
144+
display: block;
145+
}
146+
}
147+
139148
.main-nav {
140149
ul {
141150
gap: $spacing-sm;

0 commit comments

Comments
 (0)