Some checks are pending
E2E / Playwright e2e (push) Waiting to run
- Introduced `DocsPageSeparators` component to manage visual gaps between pages in the document editor. - Updated `DocsBodyMarginMasks` to include dark mode support for improved styling. - Refactored `DocsPageViewInner` to integrate new separators and margin masks, enhancing layout consistency. - Adjusted layout constants to increase the gap between stacked pages for better visual separation. - Improved test coverage for page flow calculations and layout metrics.
9 lines
293 B
TypeScript
9 lines
293 B
TypeScript
/** Gap between stacked pages in print layout (px, unscaled). */
|
|
export const DOCS_PAGE_GAP_PX = 24
|
|
|
|
export const DOCS_CANVAS_PADDING_Y_PX = 32
|
|
export const DOCS_CANVAS_PADDING_TOP_NARROW_PX = 0
|
|
|
|
export const DOCS_HORIZONTAL_RULER_HEIGHT_PX = 20
|
|
export const DOCS_VERTICAL_RULER_WIDTH_PX = 28
|