Commit 3a260b5
fix(nav): keep nav-item icon position constant across collapse
Collapsed nav-item now uses the same padding-based layout as the
expanded state, just clipped to the rail width. The icon sits at
the same x in both states so the rail no longer feels like the
items shift sideways during the transition.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent be412d0 commit 3a260b5
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
234 | 234 | | |
235 | | - | |
| 235 | + | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| |||
0 commit comments