Compare commits

..

No commits in common. "cb4d3bfc7930595cabbb35e3a79b5209fd697dd9" and "df1f3c27f705045b0b179fd49c9b33af650d8b55" have entirely different histories.

View file

@ -15,8 +15,7 @@ export interface Rect {
height: number;
}
// Pages touch edge to edge; rows of mixed sizes stay centred, so it reads like a loose grid.
export const GAP = 0;
export const GAP = 40;
export function layout(tree: Tree, sizeOf: (id: string) => Size): Map<string, Rect> {
const rects = new Map<string, Rect>();