ultisuite-client/lib/drive/docs-page-layout-constants.ts
R3D347HR4Y 76eff3c351
Some checks are pending
E2E / Playwright e2e (push) Waiting to run
feat(drive): enhance document layout with new page separators and margin masks
- 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.
2026-06-15 17:28:02 +02:00

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