Commit faaf023
fix(nav): collapse marketing links when signed in to stop overflow
Adding /security and /pricing in 9ac7e8d pushed the signed-in nav past
its max-width: logo + 6 marketing links + OrganizationSwitcher + 3
in-product links + UserButton stopped fitting in the 1200px container,
so they collapsed into each other ("SentryFeatures" jammed at the
logo, "PricingR Sbussiso..." jammed at the org switcher).
Hide the marketing <ul> when signed in — the in-product nav already
covers what a logged-in user needs. Surface a single Docs link inside
SignedInActions so the only marketing page still useful post-sign-in
stays one click away. Logged-out users see the full marketing nav as
before.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent fafcf73 commit faaf023
1 file changed
Lines changed: 29 additions & 20 deletions
File tree
- frontend/src/components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
| |||
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
76 | 85 | | |
77 | 86 | | |
78 | 87 | | |
| |||
0 commit comments