Reshape stream head/tail spacing

This commit is contained in:
Mohamed Boudra
2026-05-26 23:01:42 +07:00
parent 3cf92ad6c5
commit 09bf981f13
6 changed files with 72 additions and 23 deletions
-2
View File
@@ -32,7 +32,6 @@ export interface StreamLayout {
history: StreamLayoutItem[];
liveHead: StreamLayoutItem[];
auxiliaryTurnFooter: TurnFooterHost | null;
historyToHeadGap: number;
}
export interface StreamLayoutInput {
@@ -243,6 +242,5 @@ export function layoutStream(input: StreamLayoutInput): StreamLayout {
history,
liveHead,
auxiliaryTurnFooter,
historyToHeadGap: getGapBetweenStreamItems(historyBoundaryItem, liveHeadBoundaryItem),
};
}