| ... | @@ -44,7 +44,7 @@ function SidebarUpdateReleaseNotesTooltip({ | ... | @@ -44,7 +44,7 @@ function SidebarUpdateReleaseNotesTooltip({ |
| 44 | <div className="px-1"> | 44 | <div className="px-1"> |
| 45 | <div className="text-sm leading-5 font-medium">{tooltip}</div> | 45 | <div className="text-sm leading-5 font-medium">{tooltip}</div> |
| 46 | </div> | 46 | </div> |
| 47 | <div className="pointer-events-auto max-h-[min(28rem,calc(100vh-6rem))] overflow-y-auto px-1 pt-4 pb-1"> | 47 | <div className="max-h-[min(28rem,calc(100vh-6rem))] overflow-y-auto px-1 pt-4 pb-1"> |
| 48 | {state.releaseNotes.map((releaseNote, index) => ( | 48 | {state.releaseNotes.map((releaseNote, index) => ( |
| 49 | <div key={releaseNote.version}> | 49 | <div key={releaseNote.version}> |
| 50 | {index > 0 && <Separator className="my-3 bg-border/60" />} | 50 | {index > 0 && <Separator className="my-3 bg-border/60" />} |
| ... | @@ -203,7 +203,9 @@ export function SidebarUpdatePill() { | ... | @@ -203,7 +203,9 @@ export function SidebarUpdatePill() { |
| 203 | align="start" | 203 | align="start" |
| 204 | className={ | 204 | className={ |
| 205 | state?.channel === "nightly" && state.releaseNotes.length > 0 | 205 | state?.channel === "nightly" && state.releaseNotes.length > 0 |
| 206 | ? "max-w-none text-balance" | 206 | ? // pointer-events-auto overrides the positioner's pointer-events-none so the |
| | 207 | // release notes stay open (and scrollable) when the cursor moves into them. |
| | 208 | "pointer-events-auto max-w-none text-balance" |
| 207 | : undefined | 209 | : undefined |
| 208 | } | 210 | } |
| 209 | side="top" | 211 | side="top" |