Commit 1209cd4
fix(components): restrict first nav item padding to expanded navbar state
Only apply the double padding between brand logo/search bar and the first
nav item when the navbar is fully expanded. This prevents unwanted padding
when the navbar is in a collapsed state on small devices, even when
toggled open via hamburger menu.
Uses :not(.show, .collapsing) selector to target the expanded state
while explicitly removing padding when navbar is toggled to show state.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Haiku 4.5 <[email protected]>1 parent 66f5fdd commit 1209cd4
File tree
1 file changed
+7
-1
lines changed- assets/scss/components
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
| 198 | + | |
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
201 | 207 | | |
202 | 208 | | |
203 | 209 | | |
| |||
0 commit comments