diff --git a/frontend/src/lib/components/PageHeaderBar.svelte b/frontend/src/lib/components/PageHeaderBar.svelte index c4f9287970..6842a5a836 100644 --- a/frontend/src/lib/components/PageHeaderBar.svelte +++ b/frontend/src/lib/components/PageHeaderBar.svelte @@ -7,7 +7,7 @@ section name — and the route's own buttons at the far end. The row's height matches the sidebar's own header row, so the two read as one band. -->
- {#if onUnpin} - - - {/if} - {#if navDetached.val && !navHidden} - +
onDock?.()} + onclick={() => navHandleSlot.open()} >
{/if} + {#if onUnpin} + + + {/if} +
{ bandHandleHot = true cancelBandHide() bandPeeked = true + // The one control for the chrome this page is hiding: the band always, and + // the sidebar too when it is detached — hung from this button, since the + // header's own handle is off-screen with the band. + if (navDetached.val) navHandleSlot.open(bandHandleEl) }} onmouseleave={() => { bandHandleHot = false scheduleBandHide() + navHandleSlot.scheduleClose() }} > +