diff --git a/frontend/src/lib/components/PageHeaderBar.svelte b/frontend/src/lib/components/PageHeaderBar.svelte index af6dfba47a..84d7baaf81 100644 --- a/frontend/src/lib/components/PageHeaderBar.svelte +++ b/frontend/src/lib/components/PageHeaderBar.svelte @@ -74,7 +74,7 @@ The row's height matches the sidebar's own header row, so the two read as one ba barWidth: pageHeader.barWidth, chrome: padLeft + padRight + (handleShown ? handleWidth + GAP : 0), trail: trailMeasures.trail, - summary: BAR_STAGES.map((s) => (hasSummary && s.summary ? GAP + summaryFloorWidth : 0)), + summary: BAR_STAGES.map(() => (hasSummary ? GAP + summaryFloorWidth : 0)), actions: actions.length === 0 ? [0] : actionsRigid ? actionWidths : [GAP + FLEXIBLE_ACTIONS_RESERVE], folds: actions.length > 0 && actionsRigid ? (content?.actionFolds ?? 0) : 0, @@ -236,13 +236,16 @@ The row's height matches the sidebar's own header row, so the two read as one ba - {#if item && hasSummary && stage.summary} + {#if item && hasSummary}
- - + + {#if item.summaryContent} @@ -315,7 +318,7 @@ The row's height matches the sidebar's own header row, so the two read as one ba what the bar caps it from. A page's own control stands in at the width last seen. -->